I’ve had a dedicated server that worked for 3 months but suddenly stopped working. It happened while it was running. Based on ULX logs, it looks like it was last working 9/18/13 at 1:16 AM (The last player on left at that time.)
The issue is that it only works as a LAN; the ip displays as the external ip for others, on port 27016. No one can connect to it. I can only connect to it by typing the internal IP, which for me displays as the internal IP in the game info.
-The port has always been 27016; for some reason, 27015 wouldn’t work when setting it up.
-It’s on another computer on my local network
-Hosting it on this computer and the other one worked fine for both.
-I was able to connect from this one to the other, or this one to this one.
-Connecting from this one to the other one worked, but randomly, when I spawned props on the server, everyone’s ping except mine would shoot up to 996 and they would get horrible lag. A restart fixed it when it happened. I connected using the external IP.
-The two computers are connected to a powerline switch which is connected to the router
-The service is at&t U-verse
-DHCP is on, but IP addresses never change.
The issue now:
-I’m unaware of any changes that may have happened to the router. Forwarding for other game servers still works fine.
-There was no change done to the computer when it stopped working.
-It doesn’t work when hosted from this computer either.
-It’s a LAN now; when connecting to it, the internal ip shows in the console instead of the external like normal.
-I’ve tried with a completely clean installation of garry’s mod.
-I had the minimum number of ports needed open originally; shooting it up to 27005-27050 for TCP and UDP still doesn’t help.
-Changing back to 27015 doesn’t help.
-I’ve tried removing the workshop installation command from the server script.
-Other game servers hosted on both computers work fine.
-Other people typing connect [external ip]:port doesn’t work.
-I’ve tried sv_lan 0
-I’ve tried updating the garrysmod server installation
-There aren’t any other devices on the network forwarded with the same ports.
Server console at startup:
Console initialized. ConVarRef mat_dxlevel doesn't point to an existing ConVar Game.dll loaded for "Garry's Mod" Initializing Steam libraries for secure Internet server Steam_: BugslayerUtil.DLL not found Logging into anonymous gameserver account. Fetching Workshop Addons.. No -authkey Network: IP 192.168.1.71, mode MP, dedicated Yes, ports 27016 SV / 27005 CL Error loading cfg/trusted_keys_base.txt Error loading cfg/pure_server_minimal.txt PREP OK Lua JIT is DISABLED! Executing dedicated server config file server.cfg Map cycle file 'cfg/mapcycle.txt' was not found Nav File is wrong or something (1) Initializing Steam libraries for secure Internet server Logging into anonymous gameserver account. Connection to Steam servers successful. Public IP is [external IP here]. Assigned anonymous gameserver Steam ID [Too lazy to type this]. VAC secure mode is activated.
cd C:\srcds\games\ srcds.exe -console -game garrysmod +gamemode spacebuild +map gm_new_worlds -maxplayers 16 -port 27016
I’m not looking for criticism on my setup and extreme ignorance about computer networking. I’m looking for a solution to the immediate problem.