problems getting it up.

Jerry Zimmerman van Woesik jerry at bambamlan.nl
Tue Nov 27 06:23:35 EST 2007


Hi all,

First of : Thnx Ryan for your effort.

Now the problem , iv'e been trying to get my server up on a linux 
machine behind a router (wrt54g)
I have been using this command line :
./cod4_lnxded +set net_ip 123.456.789.000 +set dedicated 2 +set 
sv_punkbuster 1 +exec testserver.cfg

123.456.789.000 being my outside ip adress.

In the router I have forwarded  like this :

port 28960 --> 192.168.0.33:28960 tcp/udp
port 50500 --> 192.168.0.33:20500 udp
port 50510 --> 192.168.0.33:50510 udp

When I start the server I get slapped with these messages :

......
execing default_mp_gamesettings.cfg from disk
execing server_map.cfg from disk
execing language.cfg from disk
dedicated is read only.
Opening IP socket: 123.456.789.000:28960
WARNING: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 123.456.789.000:28961
WARNING: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 123.456.789.000:28962
WARNING: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 123.456.789.000:28963
WARNING: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 123.456.789.000:28964
WARNING: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 123.456.789.000:28965
WARNING: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 123.456.789.000:28966
WARNING: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 123.456.789.000:28967
WARNING: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 123.456.789.000:28968
WARNING: UDP_OpenSocket: bind: Cannot assign requested address
Opening IP socket: 123.456.789.000:28969
WARNING: UDP_OpenSocket: bind: Cannot assign requested address
WARNING: Couldn't allocate IP portdedicated is read only.
sv_punkbuster is write protected.
end $init 298 ms
Loading fastfile code_post_gfx_mp
Loading fastfile localized_code_post_gfx_mp
Loading fastfile ui_mp
Loading fastfile common_mp
.....

Any ideas what goes wrong here ??
I use this exact same setup for my cod 2 server (obviously without the 
20500 and 20510 udp ports) and it works like a charm.

Cheers
B4M



More information about the Cod mailing list