How to Find a Computer's Port Numbers
Every home and business network on the Internet is assigned a unique IP address. Finding and documenting your IP address is an important first step in troubleshooting network problems and accessing your router’s control panel. The router control panel will provide access to your router’s ports; which, in turn, allow you to enable or disable certain ports used by specific applications. Computers do not have specific ports; instead, they connect by default to all ports.
Open the Run prompt by pressing “Windows-R.”
Type “CMD” and press the “Enter” key to open the Command Prompt window.
Type “IPCONFIG” and press the “Enter” key. This command will provide you with your network information, including your computer’s IP address.
Open a Web browser and type the IP address associated with the Default Gateway entry from the IPConfig results to open your router’s control panel. You may need to enter your router’s admin username and password to proceed.
Locate the “Port Forwarding” menu to manually open or close specific ports. See the Resources section of this article for a list of common port ranges for popular applications.
Tips & Warnings
- Mac users can find their IP address by clicking “File,” selecting “System Preferences,” and opening the “Network” menu.
- Information in this article applies to Windows 8. It may vary slightly or significantly with other versions or products.