mfreiholz / ts3video

A free and easy to use video conferencing plugin for TeamSpeak 3.
https://mfreiholz.de/ts3video/
58 stars 8 forks source link

Can not bind to TCP port (port=13370) #18

Closed Spazmic closed 8 years ago

Spazmic commented 9 years ago

So I was able to start the video earlier today. Only problem is that it was only uploading, so I couldn't see my friend and he couldn't see me.

Couple of hours later, i tried to connected and I got a socket error message and wouldn't let me connect to ts3video.

When I try to start the service, this is what happens:

[2015-05-27 17:26:35][info][pid=4377][tid=4377] ----- Server startup ---- [2015-05-27 17:26:35][info][pid=4377][tid=4377] Version: 0.3 [2015-05-27 17:26:35][info][pid=4377][tid=4377] Organization: insaneFactory [2015-05-27 17:26:35][info][pid=4377][tid=4377] Organization domain: http://www.insanefactory.com/ [2015-05-27 17:26:35][info][pid=4377][tid=4377] ----- Limits ------------ [2015-05-27 17:26:35][info][pid=4377][tid=4377] Connection limit: 2147483647 [2015-05-27 17:26:35][info][pid=4377][tid=4377] Bandwidth read limit: 16.00 EB/s [2015-05-27 17:26:35][info][pid=4377][tid=4377] Bandwidth write limit: 16.00 EB/s [2015-05-27 17:26:35][info][pid=4377][tid=4377] ------------------------- [2015-05-27 17:26:35][error][pid=4377][tid=4377] Can not bind to TCP port (port=13370)

I am on a dedicated ubuntu machine.

Thanks :)

mfreiholz commented 9 years ago

Sounds like the port is already bound. Maybe another instance of the server is still running or another process is using this port.

If the video stays black, you might check whether the port is open for UDP, too.

Sent from mobile phone. Am 27.05.2015 23:30 schrieb "Spazmic" notifications@github.com:

So I was able to start the video earlier today. Only problem is that it was only uploading, so I couldn't see my friend and he couldn't see me.

Couple of hours later, i tried to connected and I got a socket error message and wouldn't let me connect to ts3video.

When I try to start the service, this is what happens:

[2015-05-27 17:26:35][info][pid=4377][tid=4377] ----- Server startup ---- [2015-05-27 17:26:35][info][pid=4377][tid=4377] Version: 0.3 [2015-05-27 17:26:35][info][pid=4377][tid=4377] Organization: insaneFactory [2015-05-27 17:26:35][info][pid=4377][tid=4377] Organization domain: http://www.insanefactory.com/ [2015-05-27 17:26:35][info][pid=4377][tid=4377] ----- Limits ------------ [2015-05-27 17:26:35][info][pid=4377][tid=4377] Connection limit: 2147483647 [2015-05-27 17:26:35][info][pid=4377][tid=4377] Bandwidth read limit: 16.00 EB/s [2015-05-27 17:26:35][info][pid=4377][tid=4377] Bandwidth write limit: 16.00 EB/s [2015-05-27 17:26:35][info][pid=4377][tid=4377] ------------------------- [2015-05-27 17:26:35][error][pid=4377][tid=4377] Can not bind to TCP port (port=13370)

I am on a dedicated ubuntu machine.

Thanks :)

— Reply to this email directly or view it on GitHub https://github.com/mfreiholz/ocs/issues/18.

Spazmic commented 9 years ago

lmao.

I was running one instance and it crashed after a couple of hours somehow, so I couldn't join. I tought I had previously stopped it so I was trying to restart it without success. -_-

For the black video, i can upload but I cannot download (says 0 Byte/s). The problem might be the UDP. I'll keep you posted.

Spazmic commented 9 years ago

I did : nmap -sU -P0 -p 13370 127.0.0.1

Result : PORT STATE SERVICE 13370/udp open|filtered unknown

Nmap done: 1 IP address (1 host up) scanned in 2.06 seconds

It says its open or filtered here so this is why I'm confused. I have DDoS filtering with black-lotus so I will be in contact with them to see if it getting blocked on their end.

mfreiholz commented 9 years ago

Hi Spazmic,

any updates? Does it work now?

Spazmic commented 9 years ago

I'm still investigating. I didn't have time to look into that, I'll keep you posted but I think my network config might be the problem.

mfreiholz commented 9 years ago

I fixed a problem with 0.4 when using muliple network interfaces. In some cases the server used the wrong interface to broadcast the video-streams.

If you have multiple network interfaces (IPs) you need to define it in the server's config file:

[default]
address=IP_ADDRESS_HERE
port=13370