Hi, everyone

I have question about port usage, by srcds and hlds.

With netstat -nlp i can see that my server is using port specified, by -port -tv_port command + tcp port= -port (rcon), but it also uses other ports, in quite random manner.

If i`m assigning ports for dedicated server within range 27000 - 29000, then at some point new server port will cause problem with one of this randomly opened ports.

example listing:

Two srcds servers:

tcp 0 0 85.128.48.130:27000 0.0.0.0:* LISTEN 20955/srcds_linux tcp 0 0 85.128.48.130:27001 0.0.0.0:* LISTEN 19838/srcds_linux udp 0 0 85.128.48.130:28998 0.0.0.0:* 19838/srcds_linux udp 0 0 85.128.48.130:28999 0.0.0.0:* 20955/srcds_linux udp 0 0 85.128.48.130:26901 0.0.0.0:* 19838/srcds_linux udp 0 0 85.128.48.130:26902 0.0.0.0:* 20955/srcds_linux udp 0 0 85.128.48.130:27000 0.0.0.0:* 20955/srcds_linux udp 0 0 85.128.48.130:27001 0.0.0.0:* 19838/srcds_linux udp 1440 0 85.128.48.130:27005 0.0.0.0:* 19838/srcds_linux udp 0 0 85.128.48.130:27006 0.0.0.0:* 20955/srcds_linux

Three hlds servers:
udp 0 0 85.128.48.130:26900 0.0.0.0:* 29647/hlds_amd udp 0 0 85.128.48.130:26903 0.0.0.0:* 32730/hlds_amd udp 0 0 85.128.48.130:26904 0.0.0.0:* 18006/hlds_amd udp 0 0 85.128.48.130:26905 0.0.0.0:* 24325/hlds_amd udp 0 0 85.128.48.130:27002 0.0.0.0:* 32730/hlds_amd udp 0 0 85.128.48.130:27003 0.0.0.0:* 18006/hlds_amd udp 0 0 85.128.48.130:27004 0.0.0.0:* 24325/hlds_amd udp 0 0 85.128.48.130:27015 0.0.0.0:* 29647/hlds_amd

Can anyone explain how does it work? And most of all how to avoid port number conflict if srcds and hlds take random ports in addition to those assigned by command line ?

Best wishes
KN

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to