Playing from same LAN as autohost

Playing from same LAN as autohost

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
McArcher
Posts: 45
Joined: 31 Mar 2011, 19:42

Playing from same LAN as autohost

Post by McArcher »

I have another question. It concerns more the Spring engine itself rather than SPADS, but if you could help, it would be great.

My server's PC is located in the same LAN where my gaming PC is. Both PCs share the same internet connection and thus have identical external IPs. So, when I'm trying to play on my dedicated server from gaming machine, gaming PC cannot connect to the server. I'm not pro in this sphere, but i think it happens because gaming pc thinks that server's ip is his own external ip...

I thought, it was because 8452 UDP port being forwarded to gaming PC. I changed dedicated server's port in config to 8453 and forwarded 8453 UDP to the server's PC. Even when I'm trying to connect to server's 8453 port, connection fails. Why?

Changing server's port helped in other games. Why it doesn't work here? What should I do? Thanks.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

There shouldn't be any problem with this setup, the lobby protocol is desined to handle this case.

You can check SPADS log file, it should contain a line such as "Following local LAN IP address detected: <yourLanIp>". If it doesn't detect your LAN IP address correctly, you can still set it manually ("localLanIp" global setting)

Are you sure you modified the correct port parameter ? You should modify the "port" hosting setting, not the "autoHostPort" global setting.
McArcher
Posts: 45
Joined: 31 Mar 2011, 19:42

Re: SPADS AutoHost beta release

Post by McArcher »

I changed "port", not "autoHostPort". In both logfiles was nothing about "Following local LAN IP address detected: <yourLanIp>". Now I have typed server's IP into "localLanIp" and will test.

P.S.

It works!!! "localLanIp" has helped! Thank you very much again!
Post Reply

Return to “SPADS AutoHost”