Pages: [1]
  Print  
Author Topic: IP Address Not Being Used  (Read 13665 times)
sprfrkr
Nub


Cakes 0
Posts: 19


« on: December 20, 2008, 05:38:09 PM »

Below is the output from a new server I am trying to setup on a fresh windows 2003 install. I think it is on the server side with how IP address is registered, but I am not sure. Any help would be very appreciated.


C:/open_arena/openarena.exe +set dedicated 2   +exec C:/open_arena/default.cfg

ioq3+oa 1.35 win_mingw-x86 Oct 20 2008
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Administrator\Application Data\OpenArena/baseoa
C:\open_arena\baseoa\pak6-misc.pk3 (229 files)
C:\open_arena\baseoa\pak5-TA.pk3 (139 files)
C:\open_arena\baseoa\pak4-textures.pk3 (1753 files)
C:\open_arena\baseoa\pak2-players.pk3 (669 files)
C:\open_arena\baseoa\pak2-players-mature.pk3 (231 files)
C:\open_arena\baseoa\pak1-maps.pk3 (100 files)
C:\open_arena\baseoa\pak0.pk3 (1042 files)
C:\open_arena/baseoa

----------------------
4163 files in pk3 files
execing default.cfg
execing q3config_server.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
Winsock Initialized
Hostname: ip-0AF84F74
IP: 10.248.79.116<---internal network ip (not available outside of lan)
Opening IP socket: 174.129.240.214:27960<---Public facing ip address
WARNING: NET_IPSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 174.129.240.214:27961
WARNING: NET_IPSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 174.129.240.214:27962
WARNING: NET_IPSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 174.129.240.214:27963
WARNING: NET_IPSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 174.129.240.214:27964
WARNING: NET_IPSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 174.129.240.214:27965
WARNING: NET_IPSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 174.129.240.214:27966
WARNING: NET_IPSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 174.129.240.214:27967
WARNING: NET_IPSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 174.129.240.214:27968
WARNING: NET_IPSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 174.129.240.214:27969
WARNING: NET_IPSocket: bind: WSAEADDRNOTAVAIL
WARNING: Couldn't bind to a v4 ip address.
Logged
kick52
Member


Cakes -1
Posts: 229


« Reply #1 on: December 20, 2008, 06:21:47 PM »

Is another program using that port/portrange?
Logged
sprfrkr
Nub


Cakes 0
Posts: 19


« Reply #2 on: December 20, 2008, 06:24:19 PM »

The server is brand new out of the box windows 2003. Where would I look on the server itself to check for ports being open or not? The firewall externally allows all ports from my network block (for dev).

Logged
fufinha
stop making alt accounts and self-termination
Member


Cakes 7
Posts: 584


retired


« Reply #3 on: December 20, 2008, 06:43:31 PM »

in some cases you need to specify the net_port (usually if you set net_ip i think which you dont have)

try adding..

+set net_ip (your-ip) +set net_port (port)

Logged
andrewj
Member


Cakes 24
Posts: 584



« Reply #4 on: December 20, 2008, 06:54:56 PM »

So this server computer has two networking cards in it, one that connects to the local lan and one that connects to an internet modem?
Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #5 on: December 20, 2008, 06:57:52 PM »

Do the computer actually have that IP address?

What is the output of "ipconfig /all"?

A Google search shows that you are not alone with your problem but most of the time it appears to be the wrong IP address that is specified.
Logged

There are nothing offending in my posts.
damocles
Bigger member


Cakes 0
Posts: 158


May cause drowsiness


« Reply #6 on: December 20, 2008, 07:56:55 PM »

Maybe there will be different IPs with openarena-deprecated.exe or openarena-legacy.exe.

What about localhost, 0.0.0.0, etc.?
Logged
sprfrkr
Nub


Cakes 0
Posts: 19


« Reply #7 on: December 20, 2008, 09:27:43 PM »

Thank you for the replies, we get this figured out and we are having a party on the server!

below is the ip config /all data. I have the port specified in the config file as well. it is attempting to connect to the correct port as shown in the output in my original post. Thanks again for the help!

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>ipconfig /all

Windows IP Configuration

xxxxremovedxxxx

C:\Documents and Settings\Administrator>
« Last Edit: December 21, 2008, 07:19:34 PM by sprfrkr » Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #8 on: December 21, 2008, 10:39:57 AM »

Based on that output your server does only have a private IP. You should just bind to that (or 0.0.0.0) and have the port forwarded from a computer with an external IP.
Logged

There are nothing offending in my posts.
sprfrkr
Nub


Cakes 0
Posts: 19


« Reply #9 on: December 21, 2008, 11:39:49 AM »

Thank you for all of your help. IT'S WORKING!

The issue, my dumb fault, was not exec'ing the server.cfg file from the command line. Well, even if that isn't a good reason, doing that fixed teh problem. I removed the set net_ip and let teh game bind teh ip address itself. i have now closed all teh other ports and teh game is running: "CHTON 24/7 NEWBIES".

Ok, now that we have that out of the way, I'll post my config file below and you tell me based on best practices what shoudl be added/removed if you can. I'd be much obliged. Also, if you can, tell me teh ping you are getting (east coast). I will set up a west coast version if all goes well.

Finally, how do i get a different color displayed for my server name. I tried ^3, etc to no avail. Thx.

set sv_hostname "^7CHTHON (ce1m7) 24/7  ^3Newbies"
set sv_maxclients 16
set g_forcerespawn 15
set rconpassword "xxx"  // change it
set fraglimit 30
set timelimit 20
set sv_allowDownload 1

// makes all maps loop on the server (last vstr is m1 to go at the beginning):
set m1 "map ce1m7; set nextmap vstr m2"
set m2 "map ce1m7; set nextmap vstr m1"

// begin game DM (deathmatch)
// g_gametype - Gametype. 1 = DM, 2 = Tourney (1on1), 3 = Team DM, 4 = CTF.
set g_gametype 2
//map aggressor
vstr m1
seta bot_enable "1"
seta bot_minplayers 3
Logged
fufinha
stop making alt accounts and self-termination
Member


Cakes 7
Posts: 584


retired


« Reply #10 on: December 21, 2008, 11:46:51 AM »

^^1Red ^^2Green etc
Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #11 on: December 21, 2008, 07:16:43 PM »

On a 1on1 server you should not have bot_minplayers > 2 or you risk a human player waiting for a bot. (although I am not too sure on how Tourney handles bots)
Logged

There are nothing offending in my posts.
Pages: [1]
  Print  
 
Jump to: