access_udp error: cannot open socket

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
joels341
New Cone
New Cone
Posts: 4
Joined: 27 Dec 2006 23:27

access_udp error: cannot open socket

Postby joels341 » 27 Dec 2006 23:38

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.

andra_vlc
Blank Cone
Blank Cone
Posts: 22
Joined: 02 Nov 2006 17:08

Postby andra_vlc » 29 Dec 2006 13:39

> The messages pane says:
> access_udp error: cannot open socket
the message pane on her computer?

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

joels341
New Cone
New Cone
Posts: 4
Joined: 27 Dec 2006 23:27

Postby joels341 » 30 Dec 2006 05:58

Windows XP
What can I do to diagnose/fix the problem?

andra_vlc
Blank Cone
Blank Cone
Posts: 22
Joined: 02 Nov 2006 17:08

Postby andra_vlc » 02 Jan 2007 17:56

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?

andra_vlc
Blank Cone
Blank Cone
Posts: 22
Joined: 02 Nov 2006 17:08

Postby andra_vlc » 02 Jan 2007 17:58

oh, it's better without @
udp://x.x.x.x

joels341
New Cone
New Cone
Posts: 4
Joined: 27 Dec 2006 23:27

Postby joels341 » 05 Jan 2007 01:21

Thanks for the help.
I will try it and let you know. :D

joels341
New Cone
New Cone
Posts: 4
Joined: 27 Dec 2006 23:27

Postby joels341 » 07 Jan 2007 22:13

i dunno. she says nothing happens when she clicks "ok" after typing in my IP address....

Are we doing something wrong?

andra_vlc
Blank Cone
Blank Cone
Posts: 22
Joined: 02 Nov 2006 17:08

Postby andra_vlc » 08 Jan 2007 11:52

did she try both ways?
1) udp://[ipaddr]
2) udp://@

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

hast0011
New Cone
New Cone
Posts: 4
Joined: 13 Nov 2009 21:03

Re: access_udp error: cannot open socket

Postby hast0011 » 13 Nov 2009 21:11

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: access_udp error: cannot open socket

Postby Rémi Denis-Courmont » 14 Nov 2009 10:55

Looks like SELinux is misconfigured and blocks VLC...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

hast0011
New Cone
New Cone
Posts: 4
Joined: 13 Nov 2009 21:03

Re: access_udp error: cannot open socket

Postby hast0011 » 14 Nov 2009 12:20

Hello,

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: access_udp error: cannot open socket

Postby Rémi Denis-Courmont » 14 Nov 2009 12:38

It's in some distros, at least Fedora. I don't know how it's done.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests