• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux IP/Port Config Help

Shack70

Platinum Member
I current'y rent a CentOS box and I have 5 IP address assigned to it. I am hosting games off the box for a gaming group I belong to. I can't seem to get the OS to let me use more than one IP at a time.

If i run a CS server on port 27015 (default) then install a second server on a different IP and port 2705, the 2nd game server tells me the port is being used. I've done this on Windows 2003 with no problem. How do I get it to work in Linux?

Thanks for any help in advance!
 
Are all 5 IPs assigned to your network card? Do you specify a different IP for the second game server? Did you check the ports available with netstat -an?
 
Make sure the server binds to the proper interface.
I have no clue how this would be done with the CS server, but there should be some configuration directive for binding to either an interface or an address😛ort.
 
Originally posted by: n0cmonkey
Are all 5 IPs assigned to your network card? Do you specify a different IP for the second game server? Did you check the ports available with netstat -an?


I assume they are all bound as I can use any of the IPs to connect to the game server.

If i assign xxx.xxx.xxx.001 to the game server in the startup command line, I can still connect to it using xxx.xxx.xxx.002
 
Why don't you just use the same IP and different ports? I've connected to many a server where I can connect to cs.server.of.fun.com:27015 or cs.server.of.fun.com:27016. Same machine, different ports.
 
Originally posted by: BlackFlagg
Originally posted by: n0cmonkey
Are all 5 IPs assigned to your network card? Do you specify a different IP for the second game server? Did you check the ports available with netstat -an?


I assume they are all bound as I can use any of the IPs to connect to the game server.

If i assign xxx.xxx.xxx.001 to the game server in the startup command line, I can still connect to it using xxx.xxx.xxx.002

Then the game server is binding to all IPs instead of restricting it to the one you assigned it to. Check the configs and the server logs.
 
Originally posted by: silverpig
Why don't you just use the same IP and different ports? I've connected to many a server where I can connect to cs.server.of.fun.com:27015 or cs.server.of.fun.com:27016. Same machine, different ports.

Because I have 5 Ips I can use, why deviate from standard port if I dont have to?

Then the game server is binding to all IPs instead of restricting it to the one you assigned it to. Check the configs and the server logs.

The server logs or the game server logs?
 
Back
Top