![]() |
socat/telnet connection error to n900
I am trying to test access to ports on the n900 device. Running the following command:
socat - TCP-LISTEN:30,crlf After that, I am able to use the following commands successfully and connect: Telnet Open localhost 30 But if I try to telnet from another machine on the same network, I get connection error. Is there something I should change on the device to make this port accessible from the outside? |
Re: socat/telnet connection error to n900
@impeham,
AFAIK TCP-LISTEN only binds to localhost (127.0.0.1). You'd need something like: Code:
socat - TCP-LISTEN:30,bind=192.168.2.2,crlf Note that I haven't tested this, but it "should" work :) |
Re: socat/telnet connection error to n900
Quote:
"Cannot assign requested address" i used the external ip address (the one i am getting from the cell 3G provider - might this error be related to a NAT of the provider?) will test this in internal network also. |
Re: socat/telnet connection error to n900
Quote:
|
Re: socat/telnet connection error to n900
For router address internal network it works fine - thanks :)
|
All times are GMT. The time now is 11:58. |
vBulletin® Version 3.8.8