Ping is a mechanism for checking if a host (IP address) is alive and responding.
All computers or servers on the Internet have an IP address. "Pinging" this IP address is the quickest way to check if you can reach a particular computer, server or router.
If you are unable to ping an IP address, it may mean the computer or server is turned off, or another network problem is preventing you from accessing it.
Use Cases
Use the Ping tool on Solid Tools for Developers to:
- See if an IP address can be reached from the Internet
- Check if your local firewall is blocking ping requests (ICMP traffic)
- Eliminate your own network from being at fault during your investigations
Usage
Enter a hostname, IPv4 or IPv6 address in the "Hostname or IP address" field.
To ping a server if you don't know its IP address, enter its hostname (e.g. www.google.com) and select whether to use an IPv4 or IPv6 connection for the ping. If you select IPv6, the hostname must have an IPv6 (AAAA) DNS record.
To ping a server using its IPv4 address, enter the IP address and ensure the IPv4 option is selected.
To ping a server using its IPv6 address, enter the IP address and ensure the IPv6 option is selected.
The ping tool will send 4 packets to the destination address you provided.
Results
A successful ping result will be displayed in green. The following example shows a successful ping result to www.google.com.
You can see that 4 packets were transmitted, and all 4 had a response back from www.google.com - resulting in no packet loss.
PING www.google.com (172.217.26.196) 56(84) bytes of data.
64 bytes from maa03s23-in-f4.1e100.net (172.217.26.196): icmp_seq=1 ttl=49 time=320 ms
64 bytes from maa03s23-in-f4.1e100.net (172.217.26.196): icmp_seq=2 ttl=49 time=320 ms
64 bytes from maa03s23-in-f4.1e100.net (172.217.26.196): icmp_seq=3 ttl=49 time=320 ms
64 bytes from maa03s23-in-f4.1e100.net (172.217.26.196): icmp_seq=4 ttl=49 time=320 ms
--- www.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 320.400/320.489/320.635/0.409 msA failed ping result will be displayed in red. The following example shows a failed result to the unrouteable IP address 10.100.1.2.
You can see that out of 4 packets transmitted, not a single response was received.
PING 10.100.1.2 (10.100.1.2) 56(84) bytes of data.
--- 10.100.1.2 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3023ms