Translate

Archives

Image of Beginning Google Maps API 3
Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)
Image of Operating System Concepts
Image of Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series)

Determine State of a Port Using Telnet

Using telnet, you can make an educated guess whether a port on a remote host is open, closed or blocked by a firewall by the error message it throws.

If you get no error message, the port is open.

If you get an error like the following:

Unable to connect to remote host: No route to host


you are almost certainly seeing a blocked (by firewall or whatever) port.

If you get an error like the following:

Unable to connect to remote host: Connection timed out


the port is almost certainly a closed port.

Comments are closed.