Friday 20 October 2017

How to check port is open on remote server

You can check if a port is open in your network by issuing the telnet command. If it is open, you will see a blank screen or connected after issuing the command:

Assume that you are looking to check the port 22 is open or not on the remote server

telnet command:

[root@linuxcnf ~]# telnet 22

We should get connected to the remote server as connection established. If port is open on remote server.

nmap command:

[root@linuxcnf ~]# nmap

We should see the port 22 in the output if the port is open on the remote server.

No comments:

Post a Comment