Translate

Archives

Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)
Image of Linux Kernel Development (3rd Edition)
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)
Image of Modern Operating Systems (3rd Edition)

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.