Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I ping a specific port 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
having trouble checking if a port is open on our firewall.
 
Depends on how your firewall is setup. The problem is a ping packet uses ICMP, if you firewall is blocking all ICMP packets then pinging a specific port will not work. Say if you ping(ed) port 80 to see if it was open through your firewall, the packet would go out as ICMP and be blocked, but if a TCP packet came through on port 80 it would allow the packet through if it was open. Two ways to check to see what is open.....

1. (Easy) check with your firewall administrator and work with him. That would be the fastest way and the friendliest way to check.

2. Go to and run a security scan on the IP Address of your firewall, this will tell you what basic ports are open between 0 - 1024. Keep in mind you may have to have rights to the firewall before the test will be ran.

The only way I know you can ping a specific port through windows is to use the -v command....

ping 172.16.4.30 -v 80

This would ping the specific port with an ICMP packet only. Now unless there is another switch that is not documented to change the protocol to TCP or UDP someone else will need to answer that.....


david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top