Server behind router settings? -
11-13-2002, 05:32 AM
I am running MOHAA behind a router so the PC it runs on has an internal IP address. I forwarded all the ports to the PC with the server on it, so thats no issue. However, when the server runs it runs on the internal IP. So I add the command line switches:
"D:\EA GAMES\MOHAA\MOHAA_server.exe" +set net_ip xxx.xxx.xxx.xxx +set dedicated 1 +set ui_console 1 +set g_gametype2 +set sv_maxclients 10 +exec server.cfg
Obviously where xxx.xxx.xxx.xxx is the WAN or external IP. And on running i get this error.
Opening IP socket: xxx.xxx.xxx.xxx:12203
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
WARNING: Couldn't allocate IP port
for UDP ports 12203 - 12218
So I assume the server is having a conflict thinking it sholud be local IP and is being forced by the 'set net ip' to be set as external IP. Surely gamespy need your external IP so people know how to connect to you. Otherwise surely it would be brodcasting the local IP which obviously no one could connect to. I'm probably repeating this question that someone else has put in the forum b4 so apologies for that. But i have searched and searched for an answer to this UDP problem and this was a last resort. So how do i setup my server?
Thanks guy's
|