Page 1 of 1

How control 2 copy of VLC with HTTP interface

Posted: 21 Jun 2005 19:09
by b_andrey
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.

Posted: 21 Jun 2005 21:39
by The DJ
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

Posted: 21 Jun 2005 21:44
by Guest
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