Hosting on a LAN. Users forced to IP address 127.0.0.1
-
Re: How To Host
I have a Wireless router, and the LAN should be accessable. My computer uses 198.162.1.14 as the default host address, however, folks using my LAN see the address as 127.0.0.1, which is the loopback address. Changing it on the user's address in "Connect to Networked Game" does not work. Anyone know what is missing here? -
Anyone attempting to connect to a LAN hosted game sees 127.0.0.1 as the server address. You can change what is displayed to something else, but the internals seem to always override back to 127.0.0.1! Frustrating.
-
Hmm usually it should prefer ip Adresses in the local network over loopback addresses.
This probably indicates that triplea is unable to find that address for whatever reason.
I'll think about that for a bit. I'm not sure if we can fix the algorithm (we can't control how java finds the networking card), but allowing to enter a custom ip seems like a reasonable feature to add. -
@Michael-Vitale Is port 3300 open? Maybe a firewall blocks incoming/outgoing connections on port 3300.
(Assuming you did not change the default port when setting it up.)