Page 1 of 1

Streaming not accepting connections other than localhost

Posted: 29 May 2010 07:02
by krsbuilt
I've tried this on every operating system known to man, but every time i try to stream over UDP (or any protocol for that matter) i can connect to it from localhost but not from any other host. I'm currently running version 1.05 on windows, but but it isn't working on any OS. I've been up all night searching Google and these forums for an answer but haven't found a thing. any help would be greatly appreciated.

Re: Streaming not accepting connections other than localhost

Posted: 29 May 2010 20:26
by doniewil1504
I had the same problem too. I used mpeg-ts in encapsulation and mpeg2 in coded. still doesn't work at all.

Re: Streaming not accepting connections other than localhost

Posted: 29 May 2010 21:43
by Rémi Denis-Courmont
That means that you either are firewalled or you did not configure the IP addresses correctly. Note that UDP requires the IP address of the RECEIVER.

Re: Streaming not accepting connections other than localhost

Posted: 30 May 2010 02:39
by krsbuilt
so then how would i stream to multiple clients? just add a comma between IP's? i'm trying to have it set up so anyone in my local network can connect to a multicast live audio/video stream, and i'm thinking of adding internet support later. How would i do that?

Re: Streaming not accepting connections other than localhost

Posted: 30 May 2010 09:26
by Rémi Denis-Courmont
You need to use multicast then

Re: Streaming not accepting connections other than localhost

Posted: 30 May 2010 09:30
by heywood
Actually, streaming via UDP is the one configuration I did manage to get working (at least with the streamer running on OS X). Details here.

Re: Streaming not accepting connections other than localhost

Posted: 01 Jul 2010 14:22
by doniewil1504
You need to use multicast then

Hi, I Am working hard to Multicast stream, but still no results yet. I tried follow this instruction in youtube http://www.youtube.com/watch?v=C0Fu0GDoW3o I tried exaclty as he did, with putting udp://225.1.2.3:1234 at the server side and UDP://225.0.0.1:1234 at the client side, and connect them directly with regular switch. but trully there is no result yet. Please advice what to do.

Re: Streaming not accepting connections other than localhost

Posted: 01 Jul 2010 15:41
by gxgxgx
Hi to all, I have a similar problem:

I'd like to setup my VLC so that anyone on the internet, knowing my ip and port, is able to see my stream.

My PC has ip 192.168.0.150 and it is behind router, but I've opened port 8081 (and using port scanners, that port is really open from outside).
Now, I open VLC, I setup streaming HTTP with destination "empty", and port 8081, so that VLC is listening all interfaces.
On the other PC, I open VLC, and in network I put: http://mypublicip:8081, but nothing is shown...
Neither from my PC using http://mypublicip:8081 I can see something.
Instead, if (from my PC) I put http://192.168.0.150:8081 or http://127.0.0.1:8081 (...localhost), I see everything.

It seems that stream is not able to go out, but in the router I've correctly forwarded port 8081 on 192.168.0.150 (and the port scanners says "open"), so what is wrong?

(I don't know who will see my stream, I just want to make it public to anyone who knows my ip)

Thank you!

Re: Streaming not accepting connections other than localhost

Posted: 08 Jul 2010 21:09
by tilleke
Sorry for hijacking this thread but I have a similar problem.

I have written an application that "talks" with the VLC-server (the PC running VLC with the telnet interface enabled) using telnet and I can't connect anylonger using VLC 1.1. The odd thing is that same setup using VLC 1.05 works without any problems (so I know for sure that the router and its portforwarding-rules are OK). The VLC-server runs on a PC with Windows XP and included firewall is disabled).

Anyone else who has noted this? Have there been any changes regarding networking-issues between VLC 1.05 and VLC 1.1? I read somewhere that the telnet-interface has been replaced by LUA or something similar. Could this be the issue? If yes, where can I find information about LUA and telnet and perhaps resolve my problem?

Many thanks in advance.

tilleke

Hi to all, I have a similar problem:

I'd like to setup my VLC so that anyone on the internet, knowing my ip and port, is able to see my stream.

My PC has ip 192.168.0.150 and it is behind router, but I've opened port 8081 (and using port scanners, that port is really open from outside).
Now, I open VLC, I setup streaming HTTP with destination "empty", and port 8081, so that VLC is listening all interfaces.
On the other PC, I open VLC, and in network I put: http://mypublicip:8081, but nothing is shown...
Neither from my PC using http://mypublicip:8081 I can see something.
Instead, if (from my PC) I put http://192.168.0.150:8081 or http://127.0.0.1:8081 (...localhost), I see everything.

It seems that stream is not able to go out, but in the router I've correctly forwarded port 8081 on 192.168.0.150 (and the port scanners says "open"), so what is wrong?

(I don't know who will see my stream, I just want to make it public to anyone who knows my ip)

Thank you!

Re: Streaming not accepting connections other than localhost

Posted: 09 Jul 2010 07:02
by thechronic
@gxgxgx

Did you remember to enter the ip address (0.0.0.0 for everyone) again in the C:\Program Files\VideoLAN\VLC\http\.hosts (or C:\Program Files (x86)\VideoLAN\VLC\http\.hosts) file again? I've realized that the file is reset to it's default after installation of VLC 1.1.0