Question about my IP address.

Azureth

Supreme [H]ardness
Joined
Feb 29, 2008
Messages
5,323
So, for some reason my computers IP address as 192.168.1.3. I did the IPCONFIG and looked at IPv4 address and that is what it shows next to it. Yet when I say, make a game and give my IP they can't connect, what's wrong?
 
You're using a NAT router. The WAN interface of the router gets the public (internet) IP. The router's LAN interface and any devices on the LAN get private IPs. Private IPs are not routable on the internet and can be reused for any LAN.

For people across the internet to connect to your server, you'd need to give them your public IP so they'll hit the router. Then you'd need to forward the necessary port(s) from the router to the private IP of the machine running the server.
 
Are there any free programs that do that?

Also, how do you know what ports you need to open if it isn't on the list?
 
Private Networks:
10.0.0.0 - 10.255.255.25
172.16.0.0 - 172.32.255.255
192.168.0.0 - 192.168.255.255
These are IPs used internally, basically within your home or organization.

When you're talking about the internet and "connecting to you", you generally want to give them your router's WAN IP.

As mentioned above, http://www.whatismyip.com/

As far as knowing what ports you need to forward, if your program is auto configuring via UPnP, you shouldn't have to worry. However, if not, you can google what your game's incoming port normally is.
Surely you can find this out too in the game itself? What game is this?
 
Back
Top