The Doc Jun 28 @ 7:36pm
TF2 SteamCMD Server Not Working
I'm currently trying to host a TF2 server on my computer using SteamCMD just as the TF2 Wiki says to. Nothing big, just a small private server for friend shenanigans.

Well no matter what I do the server refuses to let anyone besides me connect. I am able to see the server in the public and LAN lists, add it from the public IP, and connect to it with both my public and local IP. It actually works quite well in those areas, actually. I've gotten comfortable with how it works.

However it's not serving its purpose at all as others can't see it in any list, trying to add it as a favorite gives them a "Server Not Responding" message, and attempting to connect through the console gives them a "Connection failed after 4 retries" message.

I've confirmed that I've port forwarded perfectly with canyouseeme.org, and I'm able to run non-Source servers just fine so my router is forwarding ports correctly. I'm used to hosting servers like this as well as forwarding their ports but it's quite a pain when this particular one won't work for seemingly no reason. And yes, I have set sv_lan to 0.

My .bat file to run the server goes as follows:

srcds.exe -console -game tf +sv_pure 0 +map cp_gravelpit +maxplayers 24 -port 27015 +exec server.cfg -autoupdate -secure

I've Googled furiously for an answer but most results just come up with people who haven't port forwarded. The other ones haven't helped me.
Last edited by The Doc; Jun 28 @ 7:58pm
Showing 1-15 of 20 comments
< >
Knappy Jun 28 @ 7:59pm 
Your -parameters should come before your +parameters:
A:\tf2\srcds.exe -console -game tf -secure -ip 10.0.0.2 +hostip 64.79.106.140 +port 27016 +clientport 27006 +exec server.cfg +maxplayers 8 +map cp_dustbowl

Is your port open?[www.canyouseeme.org]
Last edited by Knappy; Jun 28 @ 7:59pm
The Doc Jun 28 @ 8:20pm 
Oh! Uh, thanks for that .bat because it looks like that fixed everything. I'm a bit embarassed it was that simple.
Knappy Jun 28 @ 8:24pm 
:)
The Doc Jun 28 @ 8:31pm 
And now it's not working again... ? As soon as I tried to join it just stopped working for everyone else.

This is so incredibly frustrating. All of a sudden it just stops working for no rhyme or reason and nobody can find it in the server browser or connect to it anymore.
Last edited by The Doc; Jun 28 @ 9:01pm
Its7up Jun 28 @ 10:53pm 
Originally posted by King Graham of Daventry:
And now it's not working again... ? As soon as I tried to join it just stopped working for everyone else.

This is so incredibly frustrating. All of a sudden it just stops working for no rhyme or reason and nobody can find it in the server browser or connect to it anymore.

Is it possible to see your config? (remove RCON password, just in case)
Could you also try this? Try going to your logs file in the TF directory and deleting every text document, and going to your addons/sourcemod directory (if you have one) and deleting the files in the logs folder there. Launch the server, join, then join a team and spawn as a class, then leave. Turn off the server by using quit. Go to the previously mentioned directories and in there should be txt files, the sourcemod directory may have more that 1 txt file, could you place them here.
Last edited by Its7up; Jun 28 @ 10:55pm
The Doc Jun 28 @ 11:19pm 
Well, here's my server.cfg, with the hostname and passwords blanked out.

hostname "" //The Name of your Server that players will see
sv_password "" //Leave empty if you do not want a password
rcon_password "" //Password to enable rcon access from the console
mp_timelimit 0 //Round Timelimit
mp_maxrounds 0 //Maximum Rounds Playable before map change
sv_allowupload 1 // Allow clients to upload customization files (Optional Line, Used for Sprays)
sv_allowdownload 1 // Allow clients to download files (Optional Line, Used for Sprays)
net_maxfilesize 15 // Maximum allowed file size for uploading in MB (Optional)
sv_lan 0

I... couldn't actually find a logs folder other than the SourceMod one, but this is all it had to say:

L 06/29/2014 - 00:12:24: SourceMod log file session started (file "L20140629.log") (Version "1.5.3")
L 06/29/2014 - 00:12:24: -------- Mapchange to cp_gravelpit --------
L 06/29/2014 - 00:16:43: Log file closed.
Its7up Jun 29 @ 12:12am 
Originally posted by King Graham of Daventry:
Well, here's my server.cfg, with the hostname and passwords blanked out.

hostname "" //The Name of your Server that players will see
sv_password "" //Leave empty if you do not want a password
rcon_password "" //Password to enable rcon access from the console
mp_timelimit 0 //Round Timelimit
mp_maxrounds 0 //Maximum Rounds Playable before map change
sv_allowupload 1 // Allow clients to upload customization files (Optional Line, Used for Sprays)
sv_allowdownload 1 // Allow clients to download files (Optional Line, Used for Sprays)
net_maxfilesize 15 // Maximum allowed file size for uploading in MB (Optional)
sv_lan 0

I... couldn't actually find a logs folder other than the SourceMod one, but this is all it had to say:

L 06/29/2014 - 00:12:24: SourceMod log file session started (file "L20140629.log") (Version "1.5.3")
L 06/29/2014 - 00:12:24: -------- Mapchange to cp_gravelpit --------
L 06/29/2014 - 00:16:43: Log file closed.


What about the other logfile in the root TF directory?
The Doc Jun 29 @ 5:04am 
There wasn't one. Not that I could find.
Its7up Jun 29 @ 6:03am 
Originally posted by King Graham of Daventry:
There wasn't one. Not that I could find.

Well, you don't seem to have any 3rd party Sourcemod plugins running, that's why the Sourcemod log is basically empty.


Paste this into your server.cfg, restart your server, hop in, join team, join class, leave, then ask a friend to join. Stop server and voila! A log file. Copy that here.
log "on"
sv_log_onefile "1"
sv_logfile "1"
Last edited by Its7up; Jun 29 @ 6:03am
The Doc Jun 29 @ 6:55am 
I couldn't get a friend to join (and I did try), since that's my problem in the first place, but here's the server log after I joined and left, with the IP removed:

L 06/29/2014 - 07:41:37: Log file started (file "logs\L0629000.log") (game "C:\tf2\tf") (version "2298883")
L 06/29/2014 - 07:41:37: [META] Loaded 1 plugin.
L 06/29/2014 - 07:41:37: Loading map "cp_gravelpit"
L 06/29/2014 - 07:41:37: server cvars start
L 06/29/2014 - 07:41:37: "sm_nextmap" = ""
L 06/29/2014 - 07:41:37: "sourcemod_version" = "1.5.3"
L 06/29/2014 - 07:41:37: "metamod_version" = "1.10.0V"
L 06/29/2014 - 07:41:37: "mp_teamplay" = "0"
L 06/29/2014 - 07:41:37: "mp_falldamage" = "0"
L 06/29/2014 - 07:41:37: "mp_weaponstay" = "0"
L 06/29/2014 - 07:41:37: "mp_forcerespawn" = "1"
L 06/29/2014 - 07:41:37: "mp_footsteps" = "1"
L 06/29/2014 - 07:41:37: "mp_flashlight" = "0"
L 06/29/2014 - 07:41:37: "mp_autocrosshair" = "1"
L 06/29/2014 - 07:41:37: "decalfrequency" = "10"
L 06/29/2014 - 07:41:37: "mp_teamlist" = "hgrunt;scientist"
L 06/29/2014 - 07:41:37: "mp_allowNPCs" = "1"
L 06/29/2014 - 07:41:37: "mp_friendlyfire" = "0"
L 06/29/2014 - 07:41:37: "mp_fadetoblack" = "0"
L 06/29/2014 - 07:41:37: "sv_gravity" = "800"
L 06/29/2014 - 07:41:37: "sv_stopspeed" = "100"
L 06/29/2014 - 07:41:37: "sv_noclipaccelerate" = "5"
L 06/29/2014 - 07:41:37: "sv_noclipspeed" = "5"
L 06/29/2014 - 07:41:37: "sv_specaccelerate" = "5"
L 06/29/2014 - 07:41:37: "sv_specspeed" = "3"
L 06/29/2014 - 07:41:37: "sv_specnoclip" = "1"
L 06/29/2014 - 07:41:37: "sv_maxspeed" = "320"
L 06/29/2014 - 07:41:37: "sv_accelerate" = "10"
L 06/29/2014 - 07:41:37: "sv_airaccelerate" = "10"
L 06/29/2014 - 07:41:37: "sv_wateraccelerate" = "10"
L 06/29/2014 - 07:41:37: "sv_waterfriction" = "1"
L 06/29/2014 - 07:41:37: "sv_footsteps" = "1"
L 06/29/2014 - 07:41:37: "sv_rollspeed" = "200"
L 06/29/2014 - 07:41:37: "sv_rollangle" = "0"
L 06/29/2014 - 07:41:37: "sv_friction" = "4"
L 06/29/2014 - 07:41:37: "sv_bounce" = "0"
L 06/29/2014 - 07:41:37: "sv_stepsize" = "18"
L 06/29/2014 - 07:41:37: "r_VehicleViewDampen" = "1"
L 06/29/2014 - 07:41:37: "r_JeepViewDampenFreq" = "7.0"
L 06/29/2014 - 07:41:37: "r_JeepViewDampenDamp" = "1.0"
L 06/29/2014 - 07:41:37: "r_JeepViewZHeight" = "10.0"
L 06/29/2014 - 07:41:37: "r_AirboatViewDampenFreq" = "7.0"
L 06/29/2014 - 07:41:37: "r_AirboatViewDampenDamp" = "1.0"
L 06/29/2014 - 07:41:37: "r_AirboatViewZHeight" = "0.0"
L 06/29/2014 - 07:41:37: "mp_timelimit" = "0"
L 06/29/2014 - 07:41:37: "mp_fraglimit" = "0"
L 06/29/2014 - 07:41:37: "nextlevel" = ""
L 06/29/2014 - 07:41:37: "sv_maxusrcmdprocessticks" = "24"
L 06/29/2014 - 07:41:37: "tf_overtime_nag" = "0"
L 06/29/2014 - 07:41:37: "mp_respawnwavetime" = "10.0"
L 06/29/2014 - 07:41:37: "mp_tournament" = "0"
L 06/29/2014 - 07:41:37: "mp_highlander" = "0"
L 06/29/2014 - 07:41:37: "tf_arena_preround_time" = "10"
L 06/29/2014 - 07:41:37: "tf_arena_round_time" = "0"
L 06/29/2014 - 07:41:37: "tf_arena_max_streak" = "3"
L 06/29/2014 - 07:41:37: "tf_arena_use_queue" = "1"
L 06/29/2014 - 07:41:37: "mp_maxrounds" = "0"
L 06/29/2014 - 07:41:37: "mp_winlimit" = "0"
L 06/29/2014 - 07:41:37: "mp_disable_respawn_times" = "0"
L 06/29/2014 - 07:41:37: "mp_stalemate_meleeonly" = "0"
L 06/29/2014 - 07:41:37: "mp_forceautoteam" = "0"
L 06/29/2014 - 07:41:37: "mp_autoteambalance" = "1"
L 06/29/2014 - 07:41:37: "mp_stalemate_enable" = "0"
L 06/29/2014 - 07:41:37: "mp_match_end_at_timelimit" = "0"
L 06/29/2014 - 07:41:37: "mp_holiday_nogifts" = "0"
L 06/29/2014 - 07:41:37: "mp_scrambleteams_auto" = "1"
L 06/29/2014 - 07:41:37: "mp_scrambleteams_auto_windifference" = "2"
L 06/29/2014 - 07:41:37: "sv_alltalk" = "0"
L 06/29/2014 - 07:41:37: "tf_use_fixed_weaponspreads" = "0"
L 06/29/2014 - 07:41:37: "tf_maxspeed" = "400"
L 06/29/2014 - 07:41:37: "tf_max_charge_speed" = "750"
L 06/29/2014 - 07:41:37: "tf_player_name_change_time" = "60"
L 06/29/2014 - 07:41:37: "tf_force_holidays_off" = "0"
L 06/29/2014 - 07:41:37: "tf_birthday" = "0"
L 06/29/2014 - 07:41:37: "mp_tournament_stopwatch" = "1"
L 06/29/2014 - 07:41:37: "mp_windifference" = "0"
L 06/29/2014 - 07:41:37: "mp_windifference_min" = "0"
L 06/29/2014 - 07:41:37: "tf_medieval" = "0"
L 06/29/2014 - 07:41:37: "tf_medieval_autorp" = "1"
L 06/29/2014 - 07:41:37: "tf_arena_force_class" = "0"
L 06/29/2014 - 07:41:37: "tf_arena_change_limit" = "1"
L 06/29/2014 - 07:41:37: "tf_arena_override_cap_enable_time" = "-1"
L 06/29/2014 - 07:41:37: "tf_arena_first_blood" = "1"
L 06/29/2014 - 07:41:37: "tf_mvm_min_players_to_start" = "3"
L 06/29/2014 - 07:41:37: "tf_gamemode_arena" = "0"
L 06/29/2014 - 07:41:37: "tf_gamemode_cp" = "0"
L 06/29/2014 - 07:41:37: "tf_gamemode_ctf" = "0"
L 06/29/2014 - 07:41:37: "tf_gamemode_sd" = "0"
L 06/29/2014 - 07:41:37: "tf_gamemode_payload" = "0"
L 06/29/2014 - 07:41:37: "tf_gamemode_mvm" = "0"
L 06/29/2014 - 07:41:37: "tf_bot_count" = "0"
L 06/29/2014 - 07:41:37: "tf_teamtalk" = "0"
L 06/29/2014 - 07:41:37: "tf_ctf_bonus_time" = "10"
L 06/29/2014 - 07:41:37: "tf_server_identity_disable_quickplay" = "0"
L 06/29/2014 - 07:41:37: "sv_registration_successful" = "0"
L 06/29/2014 - 07:41:37: "sv_registration_message" = "No account specified"
L 06/29/2014 - 07:41:37: "tf_playergib" = "1"
L 06/29/2014 - 07:41:37: "tf_allow_player_use" = "0"
L 06/29/2014 - 07:41:37: "tf_mvm_death_penalty" = "0"
L 06/29/2014 - 07:41:37: "tf_damage_disablespread" = "0"
L 06/29/2014 - 07:41:37: "tf_mm_servermode" = "0"
L 06/29/2014 - 07:41:37: "tf_mm_strict" = "0"
L 06/29/2014 - 07:41:37: "tf_mm_trusted" = "0"
L 06/29/2014 - 07:41:37: "tf_weapon_criticals" = "1"
L 06/29/2014 - 07:41:37: "sv_cheats" = "0"
L 06/29/2014 - 07:41:37: "sv_pausable" = "0"
L 06/29/2014 - 07:41:37: "sv_contact" = ""
L 06/29/2014 - 07:41:37: "sv_voiceenable" = "1"
L 06/29/2014 - 07:41:37: "tv_enable" = "0"
L 06/29/2014 - 07:41:37: "sv_steamgroup" = ""
L 06/29/2014 - 07:41:37: "sv_password" = "pie"
L 06/29/2014 - 07:41:37: "sv_tags" = ""
L 06/29/2014 - 07:41:37: "tv_relaypassword" = ""
L 06/29/2014 - 07:41:37: "tv_password" = ""
L 06/29/2014 - 07:41:37: "deathmatch" = "1"
L 06/29/2014 - 07:41:37: "coop" = "0"
L 06/29/2014 - 07:41:37: server cvars end
L 06/29/2014 - 07:41:45: Started map "cp_gravelpit" (CRC "b0f7be355e5c62da939b1c0c8045dc3c")
L 06/29/2014 - 07:41:53: server_cvar: "sm_nextmap" "cp_gravelpit"
L 06/29/2014 - 07:41:55: Executing dedicated server config file server.cfg
L 06/29/2014 - 07:42:18: server_cvar: "tf_gamemode_cp" "1"
L 06/29/2014 - 07:42:18: Initializing Steam libraries for secure Internet server
L 06/29/2014 - 07:42:20: No account token specified; logging into anonymous game server account. (Use sv_setsteamaccount to login to a persistent account.)
L 06/29/2014 - 07:42:21: server_cvar: "sv_tags" "cp"
L 06/29/2014 - 07:42:21: server_cvar: "sv_tags" "cp"
L 06/29/2014 - 07:42:24: Connection to Steam servers successful.
L 06/29/2014 - 07:42:24: Public IP is [ip]
L 06/29/2014 - 07:42:24: Assigned anonymous gameserver Steam ID [A-1:1977963529(4429)].
L 06/29/2014 - 07:42:24: tf_server_identity_account_id not set; not logging into registered account
L 06/29/2014 - 07:42:24: VAC secure mode is activated.
L 06/29/2014 - 07:42:30: Sending CMsgGameServerMatchmakingStatus (state=ServerMatchmakingState_NOT_PARTICIPATING)
L 06/29/2014 - 07:44:26: "King Graham of Daventry<2><STEAM_0:1:19465515><>" connected, address "[ip]:27005"
L 06/29/2014 - 07:44:27: "King Graham of Daventry<2><STEAM_0:1:19465515><>" STEAM USERID validated
L 06/29/2014 - 07:46:51: "King Graham of Daventry<2><STEAM_0:1:19465515><>" entered the game
L 06/29/2014 - 07:47:21: "King Graham of Daventry<2><STEAM_0:1:19465515><Unassigned>" joined team "Red"
L 06/29/2014 - 07:47:23: "King Graham of Daventry<2><STEAM_0:1:19465515><Red>" changed role to "sniper"
L 06/29/2014 - 07:47:31: "King Graham of Daventry<2><STEAM_0:1:19465515><Red>" disconnected (reason "Disconnect by user.")
L 06/29/2014 - 07:51:54: [META] Loaded 0 plugins (1 already loaded)
L 06/29/2014 - 07:51:54: server_message: "quit"
L 06/29/2014 - 07:51:55: Log file closed
Last edited by The Doc; Jun 29 @ 6:58am
Its7up Jun 29 @ 7:22am 
Originally posted by King Graham of Daventry:
-snip-
Everything seems fine here, can you make sure you allowed it through the firewall? If it's too hard to allow it, disable temporarily and try asking people to join. Also, and sorry if this is offensive, but did you port forward the correct port for your server?
The Doc Jun 29 @ 7:31am 
Like I said, I have forwarded my ports correctly. As for the firewall I've just been turning it off when I want people to join. Canyouseeme.org can find my server.
Last edited by The Doc; Jun 29 @ 7:34am
Its7up Jun 29 @ 8:56am 
Originally posted by King Graham of Daventry:
Like I said, I have forwarded my ports correctly. As for the firewall I've just been turning it off when I want people to join. Canyouseeme.org can find my server.

Just to confirm, you have only the basic set of Sourcemod, no other plugins are loading that could potentially block access?
Knappy Jun 29 @ 8:59am 
The access is open. Once the host connected the server locks up.
Malinowy_Kisiel Jun 30 @ 4:58am 
TF2
Showing 1-15 of 20 comments
< >
Per page: 15 30 50