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

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.
genfester
New Cone
New Cone
Posts: 4
Joined: 20 Feb 2012 04:23

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

Postby genfester » 20 Feb 2012 04:30

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.

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

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

Postby nkoriyama » 20 Feb 2012 04:35

How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

genfester
New Cone
New Cone
Posts: 4
Joined: 20 Feb 2012 04:23

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

Postby genfester » 20 Feb 2012 05:53

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.

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

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

Postby nkoriyama » 20 Feb 2012 06:25

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.
How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

genfester
New Cone
New Cone
Posts: 4
Joined: 20 Feb 2012 04:23

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

Postby genfester » 20 Feb 2012 19:16

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.

sterv
New Cone
New Cone
Posts: 7
Joined: 24 Mar 2012 05:32

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

Postby sterv » 24 Mar 2012 05:53

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

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

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

Postby VLC_help » 24 Mar 2012 20:23

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.

sterv
New Cone
New Cone
Posts: 7
Joined: 24 Mar 2012 05:32

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

Postby sterv » 25 Mar 2012 22:43

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?

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

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

Postby vel_tins » 26 Mar 2012 03:07

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...

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: vlc 2.0 change port from 8080 to xxxx? help please.

Postby Jean-Baptiste Kempf » 26 Mar 2012 13:13

You can do so in the UI:
- Preferences -> All -> Input/codecs

And on the left, network.
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.

sterv
New Cone
New Cone
Posts: 7
Joined: 24 Mar 2012 05:32

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

Postby sterv » 28 Mar 2012 04:06

It is indeed under codecs and it worked! Many thanks!

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: vlc 2.0 change port from 8080 to xxxx? help please.

Postby Jean-Baptiste Kempf » 28 Mar 2012 15:31

Cool.
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: No registered users and 53 guests