Checking port connectivity from the appliance gateway without telnet

Discussion created by cotal01 Employee on Sep 15, 2016
Latest reply on Sep 26, 2016 by svvoorn

Hello APIM community!


Very often customers ask me about how to test port connectivity, from the appliance gateway, without having to install the telnet client. That's an interesting question. You can use the Linux bash to do that for you without having to install anything. This is how you do it:


# cat < /dev/tcp/


The previous command will check the port 22, running on the host using TCP as the protocol. You could use UDP as well, just changing /tcp/ to /udp/. You will see something like that, as the result, if that port is opened on that host:


SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1


I hope this quick tip can help you and save some time.