Page 1 of 1

vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 20 Feb 2012 04:30
by genfester
I have tried everything under the sun to do this simple task of changing the listening port on https. I have other programs i run on port 8080. I dont understand the new LUA interface please help the other version of vlc made it quite simple. Im missing something. telling me what each field needs to be would be awsome. thanks.

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 20 Feb 2012 04:35
by nkoriyama

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 20 Feb 2012 05:53
by genfester
none of those sugestions work tried in every format listed what should i use as host? computer ip is 192.168.0.3 or should i use 0.0.0.0 or 127.0.0.1? with the port i want to use. http works fine in previous versions.

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 20 Feb 2012 06:25
by nkoriyama
On default setting, you can access only from local ip(localhost, 127.0.0.1).
If you want to access the http interface from another computer on your private LAN, you need to modify lua/http/.hosts file.
If your private address is 192.168.x.x, you need to uncomment the line
192.168.0.0/16
And you can access the http interface from another computer.

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 20 Feb 2012 19:16
by genfester
I tried your suggestions in many different varietys without it working I need to change the port so i added :xxxx to the string ive googled every possible keyword to solve this. My goal is to access from http://myip:xxxx xxxx being the port i want to use. simple but the truth can be so eludeing.

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 24 Mar 2012 05:53
by sterv
I would also like to know how to change the http interface default port (8080) to a port of my choice. I have finally been successful at connecting my phone to vlc 2.0.1. but can't find where to edit the port :O

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 24 Mar 2012 20:23
by VLC_help
There isn't any easy port selection in GUI anymore. You have to feed it manually.

Code: Select all

--http-port=<integer [1 .. 65535]> HTTP server port The HTTP server will listen on this TCP port. The standard HTTP port number is 80. However allocation of port numbers below 1025 is usually restricted by the operating system.

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 25 Mar 2012 22:43
by sterv
There isn't any easy port selection in GUI anymore. You have to feed it manually.

Code: Select all

--http-port=<integer [1 .. 65535]> HTTP server port The HTTP server will listen on this TCP port. The standard HTTP port number is 80. However allocation of port numbers below 1025 is usually restricted by the operating system.
Thanks!
So let's say I want to use port 9090 I would type: --http-port=<integer [9090]>
Where should I type this command?

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 26 Mar 2012 03:07
by vel_tins
There isn't any easy port selection in GUI anymore. You have to feed it manually
REALLY?? thats ridiculous...this means you have to start VLC from commandline, otherwise it doesn't work? WHY they did it?
So let's say I want to use port 9090 I would type: --http-port=<integer [9090]>
Where should I type this command?
If do it, like "vlc help" suggested, you have to start VLC via commandline or use a shortcut to VLC with parameters, which is also B* :cry:
E.g.: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --http-port=9090

Alternative: you could just edit your C:\Users\*your username*\AppData\Roaming\vlc\vlrc file.
(Close VLC first)
Change this section from

Code: Select all

# HTTP server port (Ganzzahl) #http-port=8080
to

Code: Select all

# HTTP server port (Ganzzahl) http-port=9090
Start VLC and use port 9090...

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 26 Mar 2012 13:13
by Jean-Baptiste Kempf
You can do so in the UI:
- Preferences -> All -> Input/codecs

And on the left, network.

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 28 Mar 2012 04:06
by sterv
It is indeed under codecs and it worked! Many thanks!

Re: vlc 2.0 change port from 8080 to xxxx? help please.

Posted: 28 Mar 2012 15:31
by Jean-Baptiste Kempf
Cool.