Page 1 of 1

Uberserver on local IP?

Posted: 13 Mar 2015, 06:36
by ureru
Well Uberserver seems pretty easy to use, I'm pretty sure I've gotten it working but the problem is that it wants to use my external IP (the IP that people would use to connect to me over the internet) when all I want is for it to use my local IP (the IP that people would use to connect to me over a local network).

How can I make it use the local IP?

Also, thank you guys for the great work on this software. If I can get this figured out, I will be having a lot of fun.

Re: Uberserver on local IP?

Posted: 13 Mar 2015, 07:06
by gajop
Open server.py (text editor) and at line 84 change:

Code: Select all

web_addr = urlopen('http://springrts.com/lobby/getip.php').read()
to _your_local_address, e.g.

Code: Select all

web_addr = '192.168.1.9'
(I don't have two PCs running atm so I didn't test this).
PS: Does it not work without this?