To find the IP address on a computer, type "ipconfig" in the command prompt while using an administrator account. To open a port, create a new inbound rule under advanced settings in Windows Firewall or adjust router configurations.
To find the IP address on a computer, click Start, type "cmd" in the search box, and then open the command prompt program. In the black box that opens, type "ipconfig." If the computer is connected to the Internet through a cable, the IP address appears under Ethernet adapter Local Area Connection, and if the computer has wireless Internet, the IP address appears under Wireless LAN adapter Wireless Network Connection. The IP address is listed after IPv4.
To open a port in Windows, open the computer's Control Panel, type "firewall" in the search box and click Windows Firewall. Go to advanced settings, click Inbound Rules in the left corner and then click New Rule and directions, or a wizard, pop up. Follow the directions to open a port.
A port can also be opened by adjusting router configuration settings. Open the router configuration by typing the IP address in the address bar on any Internet browser window. Type in the username and password, and a setup screen pops up. Locate port settings under Applications and Gaming or Port forwarding. To open any of the available ports, click the box to the right under Enable.