Error binding IP to server!

krazekraze Join Date: 2012-10-26 Member: 163744Members
I have checked and all my ports are forwarded for NS2, except when I try to start a server bound to my external IP it throws me an error;
<a href="http://i.imgur.com/Qq8Rx.png" target="_blank">http://i.imgur.com/Qq8Rx.png</a>

However, if I remove the -ip from the command line the server boots just fine without throwing an error, but I have no idea if anyone can see it or connect since in the browser it says (lan). Anyone have any ideas on what could be causing this?

Comments

  • CoTTonCoTTon Join Date: 2005-02-28 Member: 42773Members
    edited November 2012
    <!--quoteo(post=2012337:date=Nov 5 2012, 10:53 PM:name=kraze)--><div class='quotetop'>QUOTE (kraze @ Nov 5 2012, 10:53 PM) <a href="index.php?act=findpost&pid=2012337"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I have checked and all my ports are forwarded for NS2, except when I try to start a server bound to my external IP it throws me an error;
    <a href="http://i.imgur.com/Qq8Rx.png" target="_blank">http://i.imgur.com/Qq8Rx.png</a>

    However, if I remove the -ip from the command line the server boots just fine without throwing an error, but I have no idea if anyone can see it or connect since in the browser it says (lan). Anyone have any ideas on what could be causing this?<!--QuoteEnd--></div><!--QuoteEEnd-->

    Are you telling the server to run off anything else the config file like server.txt?

    Can you paste the entire command line here.

    are you sure you have it forwarded for 27015 / 27016 on your router? - any firewall settings on the router etc?

    some more info please.
  • krazekraze Join Date: 2012-10-26 Member: 163744Members
    Here is the entire command line;

    F:\ns2server\Server.exe -ip 67.161.162.23 -port 27015 -config_path "F:\ns2Server\config" -limit 24 -name "2600K 5GHz!!" -map ns2_tram -console



    I am not running any firewalls or real time anti-virus that could be interfering with the connection. If I remove the IP value the server will not throw an error and boots just fine but when I see it in the browser is says (lan), I can connect but no idea if anyone else can see it.
  • CoTTonCoTTon Join Date: 2005-02-28 Member: 42773Members
    edited November 2012
    <!--quoteo(post=2012363:date=Nov 5 2012, 11:14 PM:name=kraze)--><div class='quotetop'>QUOTE (kraze @ Nov 5 2012, 11:14 PM) <a href="index.php?act=findpost&pid=2012363"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Here is the entire command line;

    F:\ns2server\Server.exe -ip 67.161.162.23 -port 27015 -config_path "F:\ns2Server\config" -limit 24 -name "2600K 5GHz!!" -map ns2_tram -console



    I am not running any firewalls or real time anti-virus that could be interfering with the connection. If I remove the IP value the server will not throw an error and boots just fine but when I see it in the browser is says (lan), I can connect but no idea if anyone else can see it.<!--QuoteEnd--></div><!--QuoteEEnd-->

    In this case- i would do the following :

    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->C:\ns2server\Server.exe -name "2600k 5Ghz!!" -config_path "F:\ns2Server\config" -file "F:\ns2Server\config\server.txt"<!--c2--></div><!--ec2-->

    in config folder - add a server.txt file in there and add exactly this

    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->-ip "67.161.162.23"
    -port "27015"
    -limit "24"
    -webadmin
    -map "ns2_tram"
    -console<!--c2--></div><!--ec2-->
  • krazekraze Join Date: 2012-10-26 Member: 163744Members
    Thanks for the help. I did that, server booted but threw me the same error :/
  • CoTTonCoTTon Join Date: 2005-02-28 Member: 42773Members
    edited November 2012
    well in this case actually since you have a router - you cannot put IP in the server.txt or command line as that as it is your external IP.

    the computer does not know you have an external ip - only a LAN ip.

    in otherwords - remove -ip

    in the browser list you should see your server 2 times - then for sure it is on the list and people can see it.

    if it is not then your router settings are incorrect.

    leave your server on for an hour i think it should should update for you to see if outside world can see your server.

    <a href="http://ns2servers.devicenull.org/" target="_blank">http://ns2servers.devicenull.org/</a>


    PS: btw really? 2600k with 5 Ghz? OC much? lol...

    i am running a 2600k server right now at stock and i get perfect tickrate IF i am not playing NS2 as well

    <a href="http://ns2servers.devicenull.org/detail.php?id=8406" target="_blank">http://ns2servers.devicenull.org/detail.php?id=8406</a>

    (you can probably tell when i am playing haha)

    EPIC 1.6 hour ns2_tran game just when I got home from work going on... perfect tick rate throughout the map.
  • krazekraze Join Date: 2012-10-26 Member: 163744Members
    Interesting. Thanks again for the help! I will give that a go and see what happens.
  • krazekraze Join Date: 2012-10-26 Member: 163744Members
    Meh, I did it a while ago and was surprised how stable it was. I actually got it at 5 with HT on, I about shat myself. Only problem is that when I prim95 it, it gets in the 70's. Which is perfectly fine but a little hot for my liking, so I try not to run it at 100% load...
  • CoTTonCoTTon Join Date: 2005-02-28 Member: 42773Members
    yeah - i might need to OC i think if I wanna play and host this server at the same time...

    but that or just fix my affinities - im not sure which thread is for which core -

    eg: 1-4 is real cores - and 5-8 is the virtual ones...

    i've tried ns2 on 1-4 only and server on 5-8 but still get spikes on tickrates :(
  • krazekraze Join Date: 2012-10-26 Member: 163744Members
    I have actually found it is better not to set affinity for most games/servers. Windows does a pretty good job of balancing them out/switching to different cores.

    In my testing it goes real, virtual, real virtual...etc

    Server has been up for a while and still showing as a lan. I guess it could be something with my ports. DD-WRT is being a pain in the ass!
  • WhosatWhosat Singapore Join Date: 2006-11-03 Member: 58301Members, Reinforced - Shadow
    kraze, do you see 2 server instances of your server on the server browser? If you see (LAN) and another one listing your server name without the (LAN) that means its updating the master servers correctly.

    And you should not specify -ip as mentioned above.

    Try rebooting your router after setting the port forwards.
  • krazekraze Join Date: 2012-10-26 Member: 163744Members
    I only see one, the one that says lan. I rebooted the router several times but I will try bypassing the router all together and confirm that port forwarding is the issue.
  • CoTTonCoTTon Join Date: 2005-02-28 Member: 42773Members
    you the same Kraze from NFOservers.com? lol
  • krazekraze Join Date: 2012-10-26 Member: 163744Members
    edited November 2012
    Yes, but this server is for my home PC.
  • CoTTonCoTTon Join Date: 2005-02-28 Member: 42773Members
    edited November 2012
    Aha!

    Nice - thanks again for figuring out that HPET issue -

    I'm pretty good with DD-WRT - let add me on Steam and i can help you configure it if you want

    <a href="http://steamcommunity.com/profiles/76561197968344383" target="_blank">http://steamcommunity.com/profiles/76561197968344383</a>
  • WhosatWhosat Singapore Join Date: 2006-11-03 Member: 58301Members, Reinforced - Shadow
    <!--quoteo(post=2012947:date=Nov 7 2012, 02:04 AM:name=kraze)--><div class='quotetop'>QUOTE (kraze @ Nov 7 2012, 02:04 AM) <a href="index.php?act=findpost&pid=2012947"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I only see one, the one that says lan. I rebooted the router several times but I will try bypassing the router all together and confirm that port forwarding is the issue.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Alright, you can either do that (DMZ your server) or you could try asking a mate to see if he sees your server on his list. Try shifting the ports up - long shot but your ISP may be blocking the port?
  • krazekraze Join Date: 2012-10-26 Member: 163744Members
    <!--quoteo(post=2016528:date=Nov 8 2012, 09:25 PM:name=Whosat)--><div class='quotetop'>QUOTE (Whosat @ Nov 8 2012, 09:25 PM) <a href="index.php?act=findpost&pid=2016528"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Alright, you can either do that (DMZ your server) or you could try asking a mate to see if he sees your server on his list. Try shifting the ports up - long shot but your ISP may be blocking the port?<!--QuoteEnd--></div><!--QuoteEEnd-->


    It seems the issue is with DD-WRT, It seems to be having issues with ports.
  • WhosatWhosat Singapore Join Date: 2006-11-03 Member: 58301Members, Reinforced - Shadow
    Can I just check if you specified a -ip? If so, try removing it or binding it to your LAN ip.
  • krazekraze Join Date: 2012-10-26 Member: 163744Members
    I am not specifying that on my command line, no.
Sign In or Register to comment.