|
2015-01-14
, 08:38
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#2
|
socat - TCP-LISTEN:30,bind=192.168.2.2,crlf
|
2015-01-14
, 13:58
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#3
|
@impeham,
AFAIK TCP-LISTEN only binds to localhost (127.0.0.1). You'd need something like:
Replace "192.168.2.2" with a suitable address.Code:socat - TCP-LISTEN:30,bind=192.168.2.2,crlf
Note that I haven't tested this, but it "should" work
|
2015-01-14
, 14:30
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#4
|
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?