Port Issue

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Bloodprime
New to forums
New to forums
Posts: 3
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Apr 09, 2013 10:38 am

Port Issue

Post by Bloodprime »

https://imageshack.us/scaled/large/856/erroruy.png

For some reason the server will not work on the assigned port 27018. It is unused.

On another note, my server.cfg wont execute even though I specify for it to do so in the exec.

Any ideas? Thanks!
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Port Issue

Post by Edge100x »

The screen shot indicates that the server is running on port 27018.

Are you certain that the server.cfg is not being executed? It should be executed automatically by the game without even needing to be on the command line. That said, make sure that you also have a valid orangebox/garrysmod/cfg/valve.rc file, which would contain the following by default:

Code: Select all

// load the base configuration
//exec default.cfg
// Setup custom controller
exec joystick.cfg

// run a user script file if present
exec autoexec.cfg

// Run network settings
exec network.cfg

//
// stuff command line statements
//
stuffcmds


//startupmenu
Bloodprime
New to forums
New to forums
Posts: 3
Joined: Tue Apr 09, 2013 10:38 am

Re: Port Issue

Post by Bloodprime »

Do I change //exec default.cfg to //exec server.cfg ?
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Port Issue

Post by Edge100x »

No, you would paste that as-is.
Post Reply