Note : Port must be listening to othe other end If Not you can start a listener using this -------------------------------- -- Start a Listener on port 5500 -------------------------------- nc –l 5500 & To validate, let’s use netstat command -- [root@Chandan ~]# netstat -anlp |grep 5500 tcp 0 0 0.0.0.0:5500 0.0.0.0:* LISTEN 21085/nc -------------------------------- -- Test Port is open or not -------------------------------- nc -vz HOST_or_ip PORT Example root# nc -vz plkgg.abc.com 1521 Windows/Linux telnet HOST_or_ip PORT # nmap 192.168.1.8 -p 80 Starting Nmap 7.70 ( https://nmap.org ) at 2019-03-16 04:30 IST Nmap scan report for 192.168.1.8 Host is up (0.00036s latency). PORT STATE SERVICE 80/tcp closed http Nmap done: 1 IP address (1 host up) scanned in 13.07 seconds