So I set my server up for external ips (friends and myself), and it is running smoothly as silk; I can access the server whenever I use external wifi (including hotspot).
I've changed both my accessAddresses to 'xxx.myserver.com' and so are the binding ports.
Is there a way for me to access the server under the same wifi as the host, i.e. connect via 192.168.xxx.xxx?
#Access external server from LAN
20 messages ยท Page 1 of 1 (latest)
If you connect to the address the server is on, sure you should be able to.
You could try with the local network address for the host, but likely you will still need to use the access address, even though you are within the same network
I tried, I can see on the server there's a 192.168.x.x, but I just can't get into the server.
If I change the accessaddress back to 192.128.x.x, I can then get into the server via LAN but not from the external ip.
is there a way to allow more than one accessaddress, i.e. you have both the external and internal.
You can try to bind to your local ipv4 instead of 0.0.0.0, but it's been a long time since I messed around with access/binds and can't really remember how gc is handling it
seems like the server won't simultaneously handle two ips.
you changed both, right?
yes
since you're clearly reaching the server with no issue, just not being properly handled between dispatch and gameserver
is there a workaround?
Might be, but this isn't something that falls under what I usually do, so I wouldn't have the best info about what you should do for public facing address handling type stuff
Thanks a lot! I will do some research on this then.
No problem
Problem solved ๐
Solution:
On Windows, you can simply change the C:\Windows\System32\drivers\etc\hosts file to reroute the external IP address(e.g. tdsine.server.com) to an internal address (e.g. 192.168.1.2). This somehow tricks the server and allows you to play both externally and internally (tested) ๐
Nahida (external, connected from Hotspot), and traveller (connected internally).