How Do We Check Whether the Particular Port Is Open or Not?

Save

With computer network ports ranging from 1 up to 65,535, malicious software can find thousands of ways to access a computer that's unprotected by a firewall. Trusted software, on the other hand, may encounter trouble connecting to their preferred ports. If you need to check whether a particular port is available or inactive, you don't have to settle for your firewall's report on ports to which it's listening or is actively blocking; instead, query individual ports to determine each of their statuses using Windows' Port Query tool.

  • Download and install a copy of PortQry Version 2 (link in Resources).

  • Move your cursor to the bottom right corner of your display to launch Windows' Charms menu and click "Search." Type "cmd" into the search field and then select the "cmd" shortcut from the search results to launch the Command Prompt window.

  • Type "cd /d C:\PortQryV2" into the Command Prompt window, omitting the quotation marks here and throughout, and then press the "Enter" key on your keyboard to navigate to the PortQry folder.

  • Type "portqry /n [host IP] /p [protocol] /e [port]" into the Command Prompt window, omitting the brackets. Replace "host IP" with the IP address containing the port you'd like to scan. Replace "Protocol" with the protocol type of the port you'd like to query and supplant "port" with the port number you'd like to scan.

  • Press the "Enter" key on your keyboard to enter the command and query the indicated port. Close the Command Prompt window when you're done.

Tips & Warnings

  • View the statuses of multiple ports by separating them with a comma at the end of the PortQry command. For example, to query ports 126, 127 and 138 you'd use "portqry /n [host IP] /p tcp /e 126,127,138".

References

Promoted By Zergnet

Comments

Resources

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!