(SERVER) Can't bind to a specific IP
devicenull
Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
<div class="IPBDescription">Win32 error 10049</div>See <a href="http://getsatisfaction.com/unknownworlds/topics/cant_assign_a_specific_ip_to_the_server" target="_blank">http://getsatisfaction.com/unknownworlds/t...p_to_the_server</a>
Basically, I get the following errors when I try to bind the server to a specific IP:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ServiceStart: started as local thread
CreateBoundSocket: ::bind returned Win32 error 10049
CreateBoundSocket: ::bind returned Win32 error 10049
cminterface.cpp (810) : Assertion Failed: 0 != m_hConnection
CreateBoundSocket: ::bind returned Win32 error 10049
Timeout initializing Steam server services.
Local server active.<!--c2--></div><!--ec2-->
Any ideas? I've tried this on a few different machines, and all see the same issue. I am using IPs that are directly available on the machine (lan IP's)
Basically, I get the following errors when I try to bind the server to a specific IP:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ServiceStart: started as local thread
CreateBoundSocket: ::bind returned Win32 error 10049
CreateBoundSocket: ::bind returned Win32 error 10049
cminterface.cpp (810) : Assertion Failed: 0 != m_hConnection
CreateBoundSocket: ::bind returned Win32 error 10049
Timeout initializing Steam server services.
Local server active.<!--c2--></div><!--ec2-->
Any ideas? I've tried this on a few different machines, and all see the same issue. I am using IPs that are directly available on the machine (lan IP's)
Comments
<a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=110351&view=findpost&p=1789081" target="_blank">http://www.unknownworlds.com/ns2/forums/in...t&p=1789081</a>
At this point, it's the last issue that I know of standing in the way of commercial server operators from running the game.
You don't need a special setup. My computer (Win 7 Pro) shows this issue when trying to bind to my one network device.. If you need multiple devices, install hamachi and VirtualBox, that should give you a few more ;)
Or, VirtualBox can be used to give you a box with 4 network adapters
Good to see some familiar faces.
I picked this issue up straight after the patch was released.
I have a getsatisfaction post on it but good to see Max is on it.
At the moment if you do not need to specify IP's I guess it's not too bad as it "works' until they fix it.
Also they mentioned that at least you should be able to specify custom ports now, so hopefully this will be fixed next release.
<a href="http://getsatisfaction.com/unknownworlds/topics/error_with_ip_binding_with_new_update_on_server_exe" target="_blank">http://getsatisfaction.com/unknownworlds/t...e_on_server_exe</a>
The replication steps for this are fairly straightforward:
1) Find the IP of your network adapter. (Your LAN IP)
2) Add it to the config file for the address value.
3) Watch the server fail to bind to 27016.
I'm unsure if it's related, but I was trying to bind to a 10.5.x.x address, it may be it repeats the first octet a number of times.