Monthly Archives: January 2016

check if a port is opened without using telnet

On several machines in a corporate SI, telnet is not installed, so your usual telnet HOST PORT command is not working.

You can replace that with a netcat command :

[root@dn25 ~]# nc -z 8020
Connection to 8020 port [tcp/intu-ec-svcdisc] succeeded!

Hint : use the -u option to specify a UDP port.