How to run uberserver and host a game from the same machine? I get "[UDPListener] error: unable to bind UDP port, see log for details." error
I try to keep as minimal installation as possible: spring+uberserver+springlobby+games(zero-k)+maps seems enough for me (no autohost bots and don't know what are those).
I came up with handmade uberserver-patch that allows me to do what i want. Tested it with lan and internet, works in every way. But still i have no full confidence about it.
What is the proper way to host a game from the uberserver's machine/local_ip? And to make this post worthy of developer's subforum branch: Is attached patch valid?
. Looks like it made an attempt to bind router's ip instead of local ip (all important ports are forwarded 8200:tcp, 8201:udp, 8452:udp). But if another player hosts the game then everything works fine.Uberserver with localhost.
Moderators: Moderators, Lobby Developers
Re: Uberserver with localhost.
looks for me like a springlobby bug at first.
do you have a working buildsetup for springlobby?
if so, try to compile current master branch, this commit should fix the problem:
https://github.com/springlobby/springlo ... 0607c8cf35
can't say much about your patch as i didn't write the code / don't know what needs to be considered at server side.
i only know that ip stuff is quiet complex, as client could connect through localhost, nat, and lan ip. the same applies for the nat-traversal code.
do you have a working buildsetup for springlobby?
if so, try to compile current master branch, this commit should fix the problem:
https://github.com/springlobby/springlo ... 0607c8cf35
can't say much about your patch as i didn't write the code / don't know what needs to be considered at server side.
i only know that ip stuff is quiet complex, as client could connect through localhost, nat, and lan ip. the same applies for the nat-traversal code.
Re: Uberserver with localhost.
Updated springlobby (and uberserver) to recent commits.
Tested a few lan and internet cases.
Everything works for me now (except nat-traversal, and as port forwarding is ok for me i didn't investigate this issue).
Thanks!
Tested a few lan and internet cases.
Everything works for me now (except nat-traversal, and as port forwarding is ok for me i didn't investigate this issue).
Thanks!
Re: Uberserver with localhost.
ok, great! thanks for the bug report!