Es_invalid_addr

zoomerrorzoomerror Join Date: 2003-01-07 Member: 11985Members, Constellation
i'm new to dedicated servers, and i'm having some trouble. I set up a mandrake linux box and installed hlds and ns dedicated server but now when i try to start the server i get a bunch of errors:

error connecting to auth server: ES_INVALID_ADDR
Auth Server
WARNING: UDP_OpenSocket: port: 27015 bind: Cannot assign requested address
FATAL ERROR (shutting down_: Couldn't allocated dedicated server IP port

i am behind a router, but no firewall
Is my syntax wrong? ./hlds_run +game ns +exec server.cfg +ip 208.32.118.58(:27015?) +map ns_eclipse

Comments

  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    you cannot bind to that address.

    your router interface is that one. Do you use NAT translation to masq internal IP addies?

    (hint, get rid of the +ip and it will work)
  • TalesinTalesin Our own little well of hate Join Date: 2002-11-08 Member: 7710NS1 Playtester, Forum Moderators
    Looks like it's behind a NAT or 'home router' (ie: just an embedded NAT ;P), from the error. Means that the IP you're giving it was not found on the system, so it can't bind it properly.

    To Fix This Error (assuming you want an entry on the WON serverlist):
    1) Remove '+ip <IP ADDY HERE>' from your command line.
    2) Make certain that the port you're going to be using is destination-mapped to the internal machine (ie: on the NAT, point all incoming traffic destined for port 27015 to be received by the internal machine)
    3) Add an 'ip' line to your host.cfg file, defining your externally-reachable IP address.

    This will allow the hlds_l daemon to bind to the local IP at init, while advertising the IP you give it inside the host.cfg on the main WON server listing.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    great reply, but i'm confused when you say hosts.cfg

    you talking about the system file or an hlds file?
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin--zoomerror+Jan 7 2003, 10:14 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (zoomerror @ Jan 7 2003, 10:14 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->./hlds_run +game ns +exec server.cfg +ip 208.32.118.58(:27015?) +map ns_eclipse<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    it should be

    ./hlds_run -game ns -debug +exec autoexec.cfg

    in autoexec.cfg:


    map ns_eclipse
    log on
    mp_logdetail 0 //or whatever



    make sure you make a logs dir in your NS dir as well.
  • zoomerrorzoomerror Join Date: 2003-01-07 Member: 11985Members, Constellation
    hmmmmmm, well i understand most of it, but where is the host.cfg file? its not on the computer. and i added an ip line to server.cfg and listenserver.cfg to see if that would help, nothing. when there is no ip in the ./hlds_run command it gives me the ES_INVALID_ADDR but then it says
    Auth Server
    Server IP address 127.0.0.1:2715

    so confused!!! ahhhhh!!!
  • ECA_ShocK-TroopeRECA_ShocK-TroopeR Join Date: 2002-12-24 Member: 11472Banned
    edited January 2003
    <span style='color:purple'><b>The SUSPENSION on Voogru has nothing to do with his servers. Don't talk about things you know nothing about.</span></b>
  • HtNickoliHtNickoli Join Date: 2002-11-24 Member: 9786Members
    edited January 2003
    <!--QuoteBegin--zoomerror+Jan 8 2003, 09:08 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (zoomerror @ Jan 8 2003, 09:08 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->hmmmmmm, well i understand most of it, but where is the host.cfg file?  its not on the computer.  and i added an ip line to server.cfg and listenserver.cfg to see if that would help, nothing.  when there is no ip in the ./hlds_run command it gives me the ES_INVALID_ADDR but then it says
    Auth Server
    Server IP address 127.0.0.1:2715

    so confused!!! ahhhhh!!!<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Its called host.conf on most linux distros. And can be found in /etc

    Not sure if you are aware of how to search for files on *unix systems. But simple issue, "updatedb" to update the search database. Then "locate xxxx" for a listing of xxxx's locations.
Sign In or Register to comment.