Java Firewall Check? Tell the server admin to turn the firewall off?

The only guaranteed way of doing it is to actually try establishing a connection to the host:port.

Suraj is right. If you cannot to specific TCP port you do not know whether the host is unavailable, no one is listening to the port or firewall blocks you. But there is a trick that helps in 90% of cases.

Typically firewall configuration has exceptions like HTTP:80, ICMP etc. So, you can try to connect to your port. If it works, you are done. Otherwise try to perform any other connection to the host (HTTP, ICMP etc.) If you managed to do this firewall blocked you.

Otherwise probably the host is unreachable.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions