Page 1 of 1

Playing from same LAN as autohost

Posted: 05 May 2011, 20:41
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.

Re: SPADS AutoHost beta release

Posted: 05 May 2011, 21:13
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.

Re: SPADS AutoHost beta release

Posted: 05 May 2011, 21:46
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!