How control 2 copy of VLC with HTTP interface

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
b_andrey
New Cone
New Cone
Posts: 5
Joined: 24 May 2005 17:56
Contact:

How control 2 copy of VLC with HTTP interface

Postby b_andrey » 21 Jun 2005 19:09

I install 2 copy of VLC (D:\Videolan_1 and D:\videolan_2)
I can run 2 VLC at the same time, but how can I control 2 different vlc with HTTP interface?
I can control one vlc with localhost:8080 (or myweb:8080)
but when I try to run vlc with other host name I get error.
I read Chapter 5. The HTTP interface:
% vlc -I http (--http-src /directory/ --http-host host:port)
And try to run vlc with
% vlc -I http --http-host videolan_1:8080
but it don`t work
Maybe I shoud use web server? (for example Apache)
Please help me.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 21 Jun 2005 21:39

You cannot run 2 webservers on the same port of course, and videolan_1 I trust is not the DNS name of your computer. It's the name of your directory. Ergo it's totally bogus.

The default port is 8080.

So if you want to run a second server, you should use another port on your machine
--http-host=localhost:8081 for instance
Don't use PMs for support questions.

Guest

Postby Guest » 21 Jun 2005 21:44

If I use Web server Apache, and create virtual host with name videolan_1 is it OK?
Thanks You for Your help it`s work --http-host=localhost:8081


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests