PDA

View Full Version : Unable To Bind TCP Socket


Gogeta195
06-12-2005, 10:28 AM
I'm trying to run the server version of Ventrilo (2.2.0) and I have correctly setup the port forwarding, my domain is setup correctly to connect to my network, but I am still having trouble with other people connecting. I can connect from my computers, but anyone outside of my network can't.

Also, when I start the server in the console window, I get an error: Unable to Bind TCP socket.

Can anyone let me know how to fix the error and help me get more people logged in?

da1tank
06-24-2005, 03:33 PM
i'm having the same problem...except i'm in direct connection w/ my modem!!!

xp sp2
cable
no firewall/virus stuff

update, i just restarted my comp and it worked (how often does that work???)

Leskatio
07-27-2005, 04:45 AM
I had the same problem, that the server could not bind to a socket, while trying to run the 2.3.0 version of ventrilo with a 2.2.0 version currently running.

After shutting down the "old" version of the ventrilo server the binding worked without any problem.

BTW: I am running ventrilo on Debian-Sarge

hamster8193
07-29-2005, 09:56 PM
Hi, i've tried the ways as above mentioned to solve this problem. However it is in vain. 2 days ago, when I first installed ventrilo server & client, I was able to host and chat with my friend. I didn't do any other setting. However, last night, i couldn't host as it showed unable to bind to tcp socket. I've tried plenty of times. even uninstall all ventrilo programs & reinstall it. Please help me to solve this problem.

Windows xp service pack 2.
Singnet 512kbps - USB modem - directly plug into my computer
Ventrilo server & client Version 2.3.0

thank you very much.

educashunviktum
08-01-2005, 05:31 PM
I'm also having this same problem. I've tried to uninstall/reinstall, but still didn't work. I can't run it as a service, either. I get the error message MainInstall<>: Failed to Create Service.The server was up and running Saturday, and then sometime on Sunday, it just quit. It was still open, and I'm assuming still bound to the TCP socket since I could still connect through my external IP. However, when users of my server complained they couldn't connect, I shut it down, and restarted my computer. This didn't help. I still still received the unable to bind to TCP Socket Error message. I've checked my port forwarding and static IP information, and it all seems in order. Is it possible that something else could be using the TCP port, not allowing vent to bind itself to it? And if this is the case, how do I release the bind? I've attempted to use the ipconfig cmd utility, but since I'm using static ip's the release/renew commands don't work. I have run out of fix ideas :'(. Looks like it's TS for a while. :p

Thanks in advance for looking into this issue.

Ghanrage
08-01-2005, 06:17 PM
Lol I accidently posted the same problem on the wrong forum. It got moved, then I saw this and feel pretty stupid...I tried to add the "3784" port to the firewall but it doesnt seem to make a difference. Last night (the first time I ran it) It worked fine but now......... HEY! Maybe Steam is using the port...Ill check it out...

Ghanrage
08-01-2005, 06:27 PM
I think I figured it out, (not steam) My internet uses a wireless router to run and takes a while to start up after turning on the computer. The ventsrv program runs automatically, detecting that there is no intrernet, and running unconnected. Heres what I did: I hit Ctrl-Alt-Del, clicked processes, scrolled down to "ventrilo_srv.exe" and then clicked end task. When I manually started up the server from the start menu, it worked fine.

Is there a way to turn off the auto run for the server?

mjgraf
08-01-2005, 08:24 PM
hmmm, interesting.
you can always set the Ventrilo service to manual and create a bat file that will start it once you obtain an IP

the bat file should contain the following lines

net start Ventrilo
pause


the pause will stop the bat file and ask for the user to press any key to continue. this will allow you to see the service startup and if there was an error.

Ghanrage
08-01-2005, 08:59 PM
I dont know much about coding, is there somewhere where I could learn how to do this?

mjgraf
08-01-2005, 09:28 PM
not much coding to it.

Right Click on Your Desktop
New > Text Document
Name it StartVentrilo.bat
Right Click on the file and Edit
Then put in that code from my previous post.
Save and Close

Double click the file.

that is it.

Ghanrage
08-01-2005, 10:44 PM
Double clicking the file just opens it, is it supposed to do something else?

mjgraf
08-02-2005, 07:58 AM
i bet you have Hide File Extensions ON in the explorer folder properties.
can you see file extentions? like .txt .zip .exe

mjgraf
08-02-2005, 08:00 AM
i was going to send you the bat file, but you set your profile to not receive PM or emails.

Ghanrage
08-03-2005, 04:10 AM
ill change it. how do you reroute thruogh a wireless router?

mjgraf
08-03-2005, 06:48 AM
not sure what you mean, reroute thru a wireless router

Ghanrage
08-04-2005, 05:06 PM
I found the answer in a differnent thread; I was trying to say "forward a port through a wireless router" The answer was at portforwarding.com.

Nofxx
11-23-2006, 10:14 AM
When you computer is turned on with internet , Ventrilo Server starts , so its already running . Its very easy to make it work!
Press Alt+Crtl+Del ( i dunno it are these keys in english)
So go to Process as select ventrilo_srv.exe and close it ;
so run ventrilo again ! GL HF

Willy
11-10-2007, 06:11 PM
I too am having this same exact problem, I've been attempting to even get Ventrilo server launched but I feel I need to go study all this .html .php stuff because I feel clueless. If there's more articles besides the main ones that I could get linked to that's in plain English it'd be much appreciated because whenever I try to launch the server it only tells me something about "unable to bind tcp socket". Also I'm on MSN Messenger when not at work so atv4evr@hotmail.com would be the email to add if you had the time/willingness to walk me through that way. Thanks everyone for all the FAQs and community support here, I'm just not understanding it, not on the same mentality level for computers as you all.

mjgraf
11-10-2007, 07:25 PM
"unable to bind tcp socket" means the server is already running.

swkwan006
06-15-2008, 05:17 AM
Here is how you set up Ventsrv as a service:

1. Install Ventsrv.
2. Start Menu >> Ventsrv >> Service >> Install
3. Control Panel >> Administration Tools >> Services
4. Scroll down to Ventrilo.
5. Right click on it and start the service.