How to connect to `tcp://192.168.202.112:11053` by command line?
tcp://192.168.202.112:11053I've ensured the service is on,but when telnet 192.168.202.112 11053,connection fails,why?
3 Answers
Use netcat for arbitrary TCP and UDP connections. It is dedicated for this purpose. It can also listen on a port.
nc -v 192.168.202.112 11053Windows
Netcat implementation for Windows:
Note
Netcat can run as a server:
nc -l <port-number>This is helpful for testing connectivity, e.g. to check if firewall rule is applied.
If that address was listening, and you had a path to it, your command telnet 192.168.202.112 11053 would connect just fine.
try to connect from the local machine (where this service is running) to this port - if that works you have a firewall "problem"