Page 1 of 1

access_udp error: cannot open socket

Posted: 27 Dec 2006 23:38
by joels341
Hi.
I am trying to share videos with my girlfriend in France, I am in the US.
I thought we could use VLC to do this, but I am having some trouble.

Here is what I am doing:
1) wizard -> stream to network
2) select a stream -> choose the video (the video plays correctly in VLC)
[i don't select any caching or anything]
3) RTP Unicast -> I enter my girlfriend's IP address.
4) select MPEG TS
5) I input a TTL of 1000, that should cover my router, her router, and to my understanding, all the routers between the US and France.
6) Then click play and VLC seems to start streaming correctly.

Now, to view my stream, my girlfriend does the following:
1) Open Network Stream
2) Selects UDP/RTP, port 1234
3) Under advanced options she types in udp://@[my ip address]
4) Nothing happens, she clicks play, nothing happens.

Are we doing something wrong?
Could it be our routers?
Do we have to do any sort of port fowarding?
If so, which ports?
Foward port 1234 to the correct receiving computer?

The messages pane says:
access_udp error: cannot open socket
main error: no suitable access module for `udp://@[my gf's ip addy]'

Any help would be appreciated.
Thank you.

Posted: 29 Dec 2006 13:39
by andra_vlc
> The messages pane says:
> access_udp error: cannot open socket
the message pane on her computer?

Maybe port in use?
Which Operating Systems?[/quote]

Posted: 30 Dec 2006 05:58
by joels341
Windows XP
What can I do to diagnose/fix the problem?

Posted: 02 Jan 2007 17:56
by andra_vlc
you know, I did just as you wrote ... and the same happened. And then I did as I had done previously - do not type the ip address from which the stream is received

> 3) Under advanced options she types in udp://@[my ip address]

leave it as it is
udp://@

Of course, it does not seem good that it does not work that way when the streaming computer is specified explicitly. The error?

Posted: 02 Jan 2007 17:58
by andra_vlc
oh, it's better without @
udp://x.x.x.x

Posted: 05 Jan 2007 01:21
by joels341
Thanks for the help.
I will try it and let you know. :D

Posted: 07 Jan 2007 22:13
by joels341
i dunno. she says nothing happens when she clicks "ok" after typing in my IP address....

Are we doing something wrong?

Posted: 08 Jan 2007 11:52
by andra_vlc
did she try both ways?
1) udp://[ipaddr]
2) udp://@

The message pane complains the same as for udp://@[ipaddr]?

Re: access_udp error: cannot open socket

Posted: 13 Nov 2009 21:11
by hast0011
Hello,

same problem here.
All I get is

[0xa1684c0] access_udp access error: cannot open socket
[0xa1702e8] main input error: open of `udp://@:1234' failed: (null)

at the terminal.

I stream from win xp to my linux system, both with the latest vlc, downloaded today.

The other way around (stream from linux to xp) works for me if I use udp://@:1234 as receiving network stream. In case I give also the IP it does not work udp://localhost:1234, udp:/192.168.178.31:1234/


Any Idea

Re: access_udp error: cannot open socket

Posted: 14 Nov 2009 10:55
by Rémi Denis-Courmont
Looks like SELinux is misconfigured and blocks VLC...

Re: access_udp error: cannot open socket

Posted: 14 Nov 2009 12:20
by hast0011
Hello,

I never installed selinux. Is that a part of the kernel? How can I deactivate it?
Thank you

Re: access_udp error: cannot open socket

Posted: 14 Nov 2009 12:38
by Rémi Denis-Courmont
It's in some distros, at least Fedora. I don't know how it's done.