|Country||United States of America|
The IP address identifies your computer on a network. In the case of the Internet, it is the address that makes your connection unique to other users. Thanks to my IP, servers and other online services know where they have to send the information you ask.
To create a game and that your friends can access the machine you need to provide the public IP that appears in this section. Depending on your operator and the type of connection it can be fixed or static. In case you have an FTP server you also have to provide this address.
Once you have your IP, you should check that you also have the port that corresponds to your network game or application open. Use our port test for this task.
What IP do I need to open the port on a router?
In this case you have to use the private IP of your computer. It is recommended that you check it. If you want more precise information about geolocation you can use our tool What is My IP.
When you connect your computer to a network, it is assigned an address within the network called an IP address. If your computer is connected to a network and the Internet, then it will have an internal IP address that determines its location on the local network and an external IP address, which is the IP address of your Internet connection. Follow this guide to find both directions.
Open the "Router Status", "Internet" or "WAN" page. The location of the external IP address is different on each router.
In most cases it is found in one of the aforementioned pages.
• If you use a Netgear router that includes the "Netgear Genie tool, click on the "Advanced" tab so you can go to the advanced options section.
Find the IP address. You can find your IP address under the "Internet Port" or "Internet IP Address" section within the "Router
Status", "Internet" or "WAN" pages. The IP address is composed of 4 groups of digits and each group contains up to three digits.
For example, it could have the following form: 220.127.116.11. • This is the IP address of your router. Any connection made outside of your router will have this address.
• This address is assigned by the Internet service provider. Most external IP addresses are dynamic, which means they change over time. This address can be masked using proxies.
Enter any of the IP configuration commands. There are several different commands you can use to view your IP address. The first is the new standard for checking IP addresses, while the second command has become obsolete, but it should still work in most distributions.
• sudo ip addr show. You must enter the administrator password after entering the command. (Usually, this command can work if the “sudo” part that requires administrator rights).
• / sbin / ifconfig. You may receive the message that you do not have administrative privileges to execute this command. If this happens, type sudo / sbin / ifconfig and then enter your password.
Find your IP address. Each of these commands will show the connection details of all the connections you have installed. Find the address you normally use. If your computer connects via Ethernet, the connection is probably eth0. If you connect wirelessly, surely wlan0.
• Your internal IP address is composed of 4 groups of up to three numbers, separated by periods. For example, it could have the following form: 192.168.1.4
What does the IP of the Windows 10 computer look like?
Typically, most routers usually assign an automatic IP address to each computer and device that connects to them. This is possible thanks to the DHCP server that is included by default on all routers, however, although obtaining the IP address automatically is very convenient and has its advantages, for example, that we will never have IP conflicts (two computers with the same IP), also entails a series of problems and inconveniences as we will see below.
If our computer receives the IP address automatically from the DHCP server, this IP will be assigned to our computer or device for a limited period of time (usually 24 hours), however, if when the validity time expires the equipment does not connect and another requests the DHCP server, it is possible that it receives the IP that we had before making, when the computer tries to connect again, it receives a different IP, thus losing possible configurations of ports and services that we could have configured.
Another drawback is that we cannot know in advance what automatic IP we will receive (although it is generally predictable), so we must check it directly from the computer. Likewise, in the event that the DHCP server fails, our computer will not receive IP, so it cannot connect to the Internet.
In the case of having to open ports or configure some services, it is necessary to know the IP address that the router has given to our ordered. To know the private IP address of our computer, the fastest and easiest way is to open an MS-DOS window by typing "cmd" in the Cortana application of Windows and write "ipconfig" on it.
At the moment we will see a list with all the network cards connected to our computer and the IP address that each one has.
By default, the one that interests us is the one that connects directly to the router, which in our case is the Ethernet adapter.
As we can see in the previous image, our computer has IP 18.104.22.168 and subnet mask 255.255.255.0. Another interesting fact is the gateway, 192.168.1.1, which corresponds to the router's IP.
As we have said before, if the IP has been received through DHCP, it is very likely that one day it will change, so if we have opened ports they will be closed again. To prevent this from happening, the best option is to manually configure the IP of our computer, so that it is always the same.
The first thing we must do to configure an IP manually on our computer is to open the Windows 10 network and shared resources center. To do this we can look for it in Cortana or, if we have the network icon at hand, click on it with the right button to open it directly.
What we must do here is locate our Internet connection. Generally we will only have one, either by cable (Ethernet) or Wi-Fi, so click on it and see the connection properties window.
If you click on the “Details” button here we will also see the IP data as we have seen before with “ipconfig”.
To change the IP of our computer, we must click on the "Properties" button and, in the new window that appears, look for the "Internet Protocol version 4 (TCP / IPv4)"
This is where we must configure our IP. By default we will see that the system is configured to receive the IP automatically through the DHCP server, so to configure it manually we must check the second option.
Next, we will fill in the sections with the following information:
• IP Address - The IP we want to use on our computer.
• Subnet Mask - The bit mask for the subnet.
• Default gateway - The router IP through which we go to the Internet.
• Primary DNS - First DNS server (22.214.171.124, for example, for Google's)
• Secondary DNS - Second DNS server, which will be used when the first fails.
Once we have filled in this information, we can save the changes and apply them to the device. For a few moments the connection of our computer will be restarted so that, when reconnecting, we are already doing it with our new configuration.
In this way we can know with which address the computer is always connected and easily open ports or services without danger that it may vary. However, we must be careful not to use the IP on two different computers at the same time since, if we do, we will have connectivity problems.