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 192.168.43.107

telnet command:

[root@linuxcnf ~]# telnet 192.168.43.107 22

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

nmap command:

[root@linuxcnf ~]# nmap 192.168.43.107


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

No comments:

Post a Comment