I'm attempting to run multiple instances of MW3 on a VPS, however, I cannot get any commands for binding to a specific IP or changing the game port to work. I see others have successfully changed ports, unless they are NAT'ing I suppose. I'm assuming John somehow did this or worked around it to offer managed servers.
Has anybody successfully run more than 1 instance? What are the commands for changing the default port and binding to a specific interface/IP?
thanks.
MW3 port/IP binding
-
- New to forums
- Posts: 4
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Nov 10, 2011 9:24 am
Re: MW3 port/IP binding
You can change the port but not the IP through game options. The example server.cfg in the "players2" folder as downloaded through the hldsupdatetool provides the documentation for these command-line options:
Note that the default for net_queryPort is 27017, not 27014.//////////////////////////////////////////////////////////
// Server command-line parameters (this section is for documentation only)
// Specify server configuration file (this file)
//+seta sv_config "filename" (default "server.cfg")
// Specify server visibility (1 = LAN, 2 = Internet (default) )
//+seta dedicated 1
// Open game port (Steam-visible server game port)
//+seta net_queryPort 27014
// Secure game port
//+seta net_port 27015
// Steam authentication port
//+seta net_authPort 8766
// Steam master server (server browser) port
//+seta net_masterServerPort 27016
Re: MW3 port/IP binding
]seta net_port 28015
net_port is write protected.
]net_queryport 28017
net_queryPort is write protected.
net_port is write protected.
]net_queryport 28017
net_queryPort is write protected.
Re: MW3 port/IP binding
As the documentation indicates, these are set on the server command line. They cannot be changed after the server is started.
Re: MW3 port/IP binding
this was done prior to start_map_rotate on the server command line. Should this be added to a command via a shortcut to execute at startup??
Re: MW3 port/IP binding
It needs to be done on the server command line. iw5mp_server.exe +seta net_port 28015 ... etc.