Uberserver on local IP?

Uberserver on local IP?

Discuss development of lobby clients, server, autohosts and auto-download software.

Moderators: Moderators, Lobby Developers

Post Reply
ureru
Posts: 1
Joined: 13 Mar 2015, 06:25

Uberserver on local IP?

Post 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.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Uberserver on local IP?

Post 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?
Post Reply

Return to “Lobby Clients & Server”