9/14/2018

Using curl to test port connectivity

It's often necessary to troubleshoot port connectivity as common env, but not found telnet.

curl -v telnet://target ip address:desired port number

curl -v telnet://dragon1:22
* Rebuilt URL to: telnet://dragon1:22/
* Trying 192.168.3.31...
* TCP_NODELAY set
* Connected to dragon1 (192.168.3.31) port 22 (#0)
SSH-2.0-Sun_SSH_1.1.4

No comments:

Post a Comment