"Connection to host lost" when using the telnet interface

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
El_Gusano
Blank Cone
Blank Cone
Posts: 15
Joined: 26 May 2006 17:21

"Connection to host lost" when using the telnet interface

Postby El_Gusano » 25 Jul 2007 00:35

Hi, I just downloaded VLC and tried running it with the telnet interface:

"vlc.exe -I telnet --telnet-password pass"

and then accessing it using either putty or the Windows telnet command:

"telnet localhost 4212" (4212 is the default port)

and I get the following output:

"Password:

Connection to host lost."

I don't even get a chance to type a password because the connection is lost immediately.

I've tried this with VLC versions 0.8.6c, 0.8.6b and 0.8.5

I've also tried setting a different port:

"vlc.exe -I telnet --telnet-password pass --telnet-port 4215"

I've read on another post that this is a known issue. But I'm pretty sure this used to work...

El_Gusano
Blank Cone
Blank Cone
Posts: 15
Joined: 26 May 2006 17:21

Re: "Connection to host lost" when using the telnet interface

Postby El_Gusano » 25 Jul 2007 18:36

I've tried on two computers.. one is running Windows XP and the other is running Windows Server 2003. I've also tried using the following command line:

"vlc.exe --intf telnet --telnet-password pass" (in case the "-I" wasn't working) but this caused the same problem...

I remember this used to work... How come it's not working now?

fpostma
New Cone
New Cone
Posts: 4
Joined: 06 Sep 2007 12:23

Re: "Connection to host lost" when using the telnet interface

Postby fpostma » 06 Sep 2007 12:25

For some weird reason telnet as primairy interface fails. Try this: vlc -I dummy --dummy-quiet --extraintf telnet

irfy
New Cone
New Cone
Posts: 1
Joined: 04 Nov 2007 07:36

Re: "Connection to host lost" when using the telnet interface

Postby irfy » 04 Nov 2007 07:45

Hi all,
I am facing exactly the same problem. Could someone pls help..

i hav turned off all firewall in my xp machine...


thnk u n keep smilin

longhairedweirdo
Blank Cone
Blank Cone
Posts: 12
Joined: 26 Nov 2007 21:09

Re: "Connection to host lost" when using the telnet interface

Postby longhairedweirdo » 27 Nov 2007 04:50

I've done some of my own testing, and it appears that the problem is with the telnet interface. It doesn't matter if telnet is the primary interface, if the dummy is the primary interface, or if the GUI is the primary interface... connect via telnet for a while (assuming you get a connection) and soon it fails.

It failed most often when I was playing/converting a file, but it's also failed when I was just trying to set up schedules and broadcasts to see if they worked they way I imagined.

It's frustrating, because I've seen enough people talking about this in a very casual manner, without any indication of the frustrations I've faced trying to get this to work.

So, let's ask a few questions.

Is there anyone out there who can run VLC with a telnet interface on Windows? What version of VLC? What version of Windows? Could you try changing something (anything) and connect via telnet and just camp out for a while, and see if your connection gets dropped? That's what happens to me... and once it gets dropped, I can connect again, but it drops the connection instantly.

If the telnet interface doesn't work, can anyone get the remote console to work? It sounds like telnet is supposed to work for that, too... connect via telnet to the right port, and type in commands. I can't get the remote console to work, either. I sometimes seem to get a connection, but the screen is funny - no real screen control. I guess that's expected... if you want a terminal emulator, you want telnet. But is there an easy way to test the RC connection?

longhairedweirdo
Blank Cone
Blank Cone
Posts: 12
Joined: 26 Nov 2007 21:09

Re: "Connection to host lost" when using the telnet interface

Postby longhairedweirdo » 27 Nov 2007 18:36

Okay, this is now officially really annoying.

Apparently, adding a --control=telnet seems to help.

That's not the annoying part, of course. The annoying part is, why does just specifying a telnet interface fail? Why do you need the extra tag? I don't mind putting in the extra tag, but what the heck does it *do*?

I'm going to make a fresh post... maybe that'll be more noticeable and more easily searched on.

chank
New Cone
New Cone
Posts: 1
Joined: 06 Feb 2009 05:21

Re: "Connection to host lost" when using the telnet interface

Postby chank » 06 Feb 2009 05:31

Many thanks for that tip! I have been pulling my hair for the last couple of days to make a telnet connection to vlc running on a windows box! I totally agree, that it really beggars belief that there is nothing anywhere that descirbes this problem.

In my case i am trying to use vlc to transcode on the fly for a MVP media player using mvpmc, but no one has reported this issue on all the forums and sites that I have read. I assume that everyone is using a linux distro rather than windoze.

But once again I must thank you for your help. Just for anyone else grappling with this, this is the command line I am using to kick off vlc on my PC:
"C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --dummy-quiet --extraintf telnet --control=telnet

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: "Connection to host lost" when using the telnet interface

Postby VLC_help » 06 Feb 2009 18:35

There is one fix made for Win32 telnet interface in VLC 1.0.0. When it is released, please test it out and report back.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: "Connection to host lost" when using the telnet interface

Postby Jean-Baptiste Kempf » 06 Feb 2009 18:53

Isn't it fixed in 0.9.9 too ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: "Connection to host lost" when using the telnet interface

Postby Jean-Baptiste Kempf » 07 Feb 2009 18:03

Grate.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 57 guests