05-06-2009, 05:33 PM
So I have set up a dedicated server for garrysmod on a computer with static internal IP 192.168.200.15 and I have these ports portfowarded to that IP.
Port 1
Protocol: TCP
Global Port(s): 27015
Base Host Port: 27015
Port 2
Protocol: UDP
Global Port(s): 27015
Base Host Port: 27015
Port 3
Protocol: UDP
Global Port(s): 27020
Base Host Port: 27020
Port 4
Protocol: UDP
Global Port(s): 1200
Base Host Port: 1200
Port 5
Protocol: UDP
Global Port(s): 27000-27014
Base Host Port: 27000
Port 6
Protocol: UDP
Global Port(s): 27030-27039
Base Host Port: 27030
I can connect to the server on another computer in my network but only if I connect to the internal IP (192.168.200.15). With portforwarding I figure I (and my friends) should be able to connect over the internet using my external IP with the port 27015 so my server would be located at 74.215.6.236:27015. However, at least on my end I don't see a server.
I currently have my dedicated server started with the run parameter:
c:/srcds/orangebox/srcds.exe -console -game garrysmod -maxplayers 6 -autoupdate +map gm_flatgrass
just to test it and it works, but only in my network.
So then I try and change it so it uses my external IP
c:/srcds/orangebox/srcds.exe -console -game garrysmod -ip 74.215.6.236 -port 27015 -maxplayers 6 -autoupdate +map gm_flatgrass
but then I get the error "Could not allocate server IP port" and it doesn't start up.
Am I missing something here?
Port 1
Protocol: TCP
Global Port(s): 27015
Base Host Port: 27015
Port 2
Protocol: UDP
Global Port(s): 27015
Base Host Port: 27015
Port 3
Protocol: UDP
Global Port(s): 27020
Base Host Port: 27020
Port 4
Protocol: UDP
Global Port(s): 1200
Base Host Port: 1200
Port 5
Protocol: UDP
Global Port(s): 27000-27014
Base Host Port: 27000
Port 6
Protocol: UDP
Global Port(s): 27030-27039
Base Host Port: 27030
I can connect to the server on another computer in my network but only if I connect to the internal IP (192.168.200.15). With portforwarding I figure I (and my friends) should be able to connect over the internet using my external IP with the port 27015 so my server would be located at 74.215.6.236:27015. However, at least on my end I don't see a server.
I currently have my dedicated server started with the run parameter:
c:/srcds/orangebox/srcds.exe -console -game garrysmod -maxplayers 6 -autoupdate +map gm_flatgrass
just to test it and it works, but only in my network.
So then I try and change it so it uses my external IP
c:/srcds/orangebox/srcds.exe -console -game garrysmod -ip 74.215.6.236 -port 27015 -maxplayers 6 -autoupdate +map gm_flatgrass
but then I get the error "Could not allocate server IP port" and it doesn't start up.
Am I missing something here?