 How to open ports in a Windows operating system How to check if the necessary port is open, check the status of all ports, and find out which port is used by a specific program. Launch the command prompt as administrator and type the following command. This command tells the computer to display the information on the status of network connections and ports. To open a specific port in a Windows operating system, open Windows Firewall and click Inbound Rules and then Neural. Specify the port to open, the port is open. One way to open ports in Windows is with the command prompt. To do it, start the command prompt as administrator and type the following command. You will see an okay message here if the commands are completed successfully.