Ping is very popular term used by system or network administrators. Ping means checking given remote system whether it is up. Ping is a simple tool which uses ICMP protocol to check remote host. Some times
ping port can be used with similar intentions. In this tutorial we will look how to ping remote system given ports.
Ping Remote System
We will start with regular ping. This will show us that remote system is up. In some situations remote system may be up but do not response ping.
$ ping 192.168.47.133
Ping Remote Port with Nmap
nmap is very useful tool used by system administrators, network administrators and pentesters.
nmapprovides a lot of network related scan features. For more information please follow tutorial below.
In this exmaple we will specify the port we want to ping with
-p option. Keep in mind that this will be a TCP port. We will ping
443 or we can use port name like
$ nmap -p 443 google.com
As we can see the port is open and remote host is up too.
Ping Remote Port with Netcat
netcat is another useful tool which provides remote connection, listening ports and port scan. Detailed information about netcat can be found in the following tutorial.
We can use
netcat in order to scan remote systems ports. In this example we will ping
$ nc google.com 443
After connecting remote port there will be meaningless responses which means the remote port is up.
Ping Remote Port with Telnet
telnet is another useful tool used to connect remote telnet servers. But we can use this tool in order to ping remote TCP ports. We will ping
443 with the following command.
$ telnet google.com 443
Connection is established and then after a timeout it is closed which means ping is successful.