Server is not acessible by external IP - all ports and firewall are open.

Hello,
I’ve already port forwarded everything and completely disabled my firewall and my server is still unacessible using my external IP. I used three different softwares to test the ports and all of them are open. What could be causing this issue?
Btw these are the ports I’ve forwarded:


TCP     27014:27050     ->     27015
UDP  	3478           ->       3478
UDP      4379:4380       ->      4379
UDP    27000:27030     ->      27015

And the script I’m using to run the server is this:


start /wait srcds.exe +login anonymous +maxplayers 40 -console +host_workshop_collection <my_collection_id> -authkey <my_auth_key> -sv_region 2 -sv_lan 0 -heartbeat +gamemode terrortown +map ttt_casino_b2

I’ve searched a lot but couldn’t find anything that I haven’t tried yet… would appreciate some help.

PS: I am able to join my server and play through “Local Network”, but only because it uses my internal IP to connect. When I try connecting through my external IP it does not work nor show at the “Internet” server list.

Unrelated, but you do not need an authkey anymore

Is this your server at your house, or a server at a data center?

Thx for the info!

My computer.

Can you check if ports are open here? http://canyouseeme.org/
I don’t think there are too much to do, hosting from home it’s a bit hard in your ISP doesn’t allow you

I’m getting “ERR_CONNECTION_TIMED_OUT” on that website. Anyways I used some different software as I previously mentioned. Also tried this website: https://www.yougetsignal.com/tools/open-ports/. All of them returned “Port 27015 is open […]” (same for the other ports).
I don’t think my ISP doesn’t allow me as I’ve succesfully hosted some other server applications on my machine in the past. Thx for the reply tho.

Edit:

Just to clarify a bit, this is what I get on the console after trying to connect to my external IP vs internal IP:


 connect <my_external_IP>
Connecting <my_external_IP>...
Retrying <my_external_IP>...
Retrying <my_external_IP>...
Retrying <my_external_IP>...
Retrying <my_external_IP>...
Retrying <my_external_IP>...
Connection failed after 6 retries.

Connecting to 192.168.15.25:27015...
Connected to 192.168.15.25:27015

-port 27015 +ip 0.0.0.0 Add this to your setup parameters and try to start your server.

That returned this error:

Engine error:
Couldn’t allocate any server IP port.

Try and run the server with a different port all you have to do is port forward a random port then use the -port to change it to that port, that might fix your problem.

Same error.

Edit: Looking through the console log of when the server starts, there’s this line:
Network: IP 192.168.15.25, mode MP, dedicated Yes, ports 27015 SV / 27005 CL

is that right? shouldn’t it show my external IP there? Because the only time it shows my external IP on the console is at the end:


Connection to Steam servers successful.
   Public IP is <my_external_ip>.
Assigned anonymous gameserver Steam ID <steam-id>.
VAC secure mode is activated.

Also, is it ok to use anonymous login for the steam?

It’s ok to use anonymous for login and on my console it doesn’t show my external IP it shows 0.0.0.0 because thats the ip I set it to, did you change the 0.0.0.0 to your normal ip? If you did then change it back to 0.0.0.0 and try to start your server.

It’s not the game, is your router that doesn’t let you to open a public server, search in google how to manually open ports in your router

Lol, I thought you had put “0.0.0.0” just as an example. Didn’t work either. Also tried with 127.0.0.1 and “localhost”, but got nothing. This is the entire console log from server startup:
*You’ll notice there are some errors in it, tho I think they are all from plugins/models and shoudn’t interfere at all (even because I’m able to join through LAN).



Console initialized.
ConVarRef mat_dxlevel doesn't point to an existing ConVar
Game.dll loaded for "Garry's Mod"
Initializing Steam libraries for Workshop..
WS: Waiting for Steam to log us in.......
WS: Fetching collection info...
Processing collection XXXXXXXXXXXX...
   Collection 'XXXXXXXXXXXX'
   24 new addons
WS: Finished!
WS: Processing 24 addons...
<mounts addons, no errors here>
WS: Finished!
Changing gamemode to Trouble in Terrorist Town (terrortown)
Network: IP 192.168.15.25, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Error loading cfg/trusted_keys_base.txt
Error loading cfg/pure_server_minimal.txt
PREP OK
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW_FROSTED.vmt)
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW_FROSTED.vmt)
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW_FROSTED.vmt)
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW_FROSTED.vmt)
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW_FROSTED.vmt)
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW_FROSTED.vmt)
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW_FROSTED.vmt)
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW_FROSTED.vmt)
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW_FROSTED.vmt)
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW_FROSTED.vmt)
Included TTT language file: portuguese.lua
Trying to create entities too early! (prop_physics)
ERROR!: Can't create physics object for models/hunter/misc/sphere025x025.mdl
HTTP failed - ISteamHTTP isn't available!
Trouble In Terrorist Town gamemode initializing...
This is TTT version 2017-04-20
Making workshop map available for client download
Executing dedicated server config file server.cfg
Using map cycle file cfg/mapcycle.txt.
Trying to precache breakable prop, but has no model name
Trying to precache breakable prop, but has no model name
Error! Flag "$model" is multiply defined in material "models/sgg/starwars/weapon
s/luke_saber/saber2"!
Error! Flag "$model" is multiply defined in material "models/sgg/starwars/weapon
s/luke_saber/saber"!
Error! Flag "$model" is multiply defined in material "models/sgg/starwars/weapon
s/luke_saber/saber3"!
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/models/sgg/starwars/weapons/luke_saber/glow.vmt
Unlittwotexture, (*proxies*), (*TextureScroll*),
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/models/sgg/starwars/weapons/luke_saber/glow.vmt
Unlittwotexture, (*proxies*), (*TextureScroll*),
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/models/sgg/starwars/weapons/obiwan_ep1_saber/glow.vmt
Unlittwotexture, (*proxies*), (*TextureScroll*),
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/models/sgg/starwars/weapons/obiwan_ep1_saber/glow.vmt
Unlittwotexture, (*proxies*), (*TextureScroll*),
Error! Flag "$model" is multiply defined in material "models/sgg/starwars/weapons/obiwan_ep1_saber/saber1"!
Error! Flag "$model" is multiply defined in material "models/sgg/starwars/weapons/obiwan_ep1_saber/saber"!
MDLCache: Weapons/melee/v_katana.mdl uses a different model version to the engine (got 49, expected 48)
Nav File is wrong or something (1)
Initializing Steam libraries for secure Internet server
No account token specified; logging into anonymous game server account.  (Use sv_setsteamaccount to login to a persistent account.)
Connection to Steam servers successful.
   Public IP is XXXXXXXXXXXXX.
Assigned anonymous gameserver Steam ID [XXXXXXXXXXXXXXXXXXX].
VAC secure mode is activated.


It’d help if you read my post and the previous answers before guessing anything.

Try using a different port just for shits and giggles.

Already tried using different ports, without success.

As for the errors I previously mentioned, I tried running the server with no addons at all and I still couldn’t join the server using my public IP.

Try to host a half life or counter 1.6 client, if you can’t then it’s not the garrysmod

I put all my bets that your router doesn’t let you to host, i’ve spent lot of time with my ISP disallowing me to create servers until i’ve discovered a way to set my router to bridge mode (Very specific for a really old router i had)
Then i’ve changed my isp and it works sometimes without having to open ports

Your ISP is preventing you from hosting shit on your computer.