SRCDS Steam group


Other clients can't connect to my server
#1
Hello

Recently I have tried making a Garrys Mod dedicated server for the first time using SRCDS. This server is just for me and my friend. I have made other servers for different games before, but this one I couldn't ever get working. The server loads up with minimal errors and I can connect to it through my LAN IP, although I did have to add a few commands to my personal autoexec.cfg file -clientport 27006 -tv_port 27021
-hostport 27016

Without changing the ports I can't connect to the server because I think that my client connect port used to be the same as one of the server ports or something. Anyway, when my friend tries to connect to the server he has an error joining. That error goes something like this - Network: IP 192.168.1.5, mode MP, dedicated No, ports 27015 SV / 27005 CL

I read about the error mentioned above here: http://forums.srcds.com/viewtopic/15755
but I didn't understand what the problem could be with my personal server. I've changed the ports I've forwarded to several that my friend recommended I should use. He says they worked for his dedicated server when he had one, and that I should use them to run mine. The thing is though, that when the server is loaded and I try to use port checker (http://www.canyouseeme.org/) to see if my ports are actually open or not, the only one that my ISP is not blocking is 27015.
This probably explains why when someone tries to join the server, the server console doesn't even show a request from their IP.

I have setup my SRCDS from this page: http://wiki.garrysmod.com/?title=Windows_Dedicated_Server_Setup

- and I've followed almost all instructions given.

The batch codes I use to start up the server are the ones given on the Gmod Wiki

Server_Start.bat --
@echo off
cd c:\srcds/orangebox
echo Starting game server.
echo Beginning "Garry's Mod"
srcds.exe -console -game garrysmod +map gm_flatgrass +maxplayers 4
echo "Garry's Mod" has now started.
echo It is recommended that you start Server Crash Recovery aswell.

and SRCDS.bat (the one I open first to start the server)
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds, close the srcds window and type Y depending on your language followed by Enter.
title Server Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game garrysmod +map gm_construct +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds


My server.cfg file is also the one displayed on the wiki page, I'm not going to paste it here, it's to big of a file. I've read through hundreds of troubleshoot and forum pages yet I still can't figure this out. If anyone has any suggestions or requires anymore information in order to fix this please reply to the forum post, not my email. Thanks!
Reply
#2
How do you know if your ISP is blocking other ports than 27015? Seems quite weird that they would block all ports, besides 27015.

Could you post a screenshot of your port forwards? Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)