Specifying IP address (TF2)

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
kaplan
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Oct 29, 2009 6:22 am

Specifying IP address (TF2)

Post by kaplan »

I'm attempting to use a specific IP address to start up a TF2 game server but it seems the host ip address becomes the default game server ip. I've tried using the following command line parameters.

+hostip 1.2.3.4 +hostport 27015 - TF2 server starts up fine but doesn't specify the ip address i want to use

+ip 1.2.3.4 -port 27015 - TF2 server doesn't start up, I get the following error: Couldn't allocate any server ip port
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Specifying IP address (TF2)

Post by Edge100x »

This is the full line that I would recommend using with our files, for a text console:

Code: Select all

srcds.exe -console -game tf -ip xxx.xxx.xxx.xxx +maxplayers yy -debug -nocrashdialog
Post Reply