What port does "ping" use?

Associate
Joined
24 Mar 2003
Posts
41
I have a server in a DMZ, behind a firewall, which is setup to block all unspecified ports.

I need to ping the server from a command prompt - what port number do I need to open up to allow it to ping / be pinged? A simple question, but 20 mins on the MSDN site turned up empty.

Thank you for the help :)
 
Soldato
Joined
18 Oct 2002
Posts
2,714
tolien said:
It uses ICMP, and as such doesn't use a port.

Well you can also do tcp and udp ping, but Toilen is right generally its ICMP message code 8. Depending on your firewall you might also have to allow echo reply which is message code 0, sourced from your server.
 
Back
Top Bottom