Error binding IP to server!
kraze
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?
<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
<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.
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.
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-->
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.
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 :(
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!
And you should not specify -ip as mentioned above.
Try rebooting your router after setting the port forwards.
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>
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?
It seems the issue is with DD-WRT, It seems to be having issues with ports.