telnet command is used to check the connectivity between two systems. This command ensures that process in running on particular port.In Linux we can use below command to telnet.

 
                        nc -v 127.0.0.1 1500