Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve VLC setup instructions #3

Open
GoogleCodeExporter opened this issue Apr 22, 2015 · 24 comments
Open

Improve VLC setup instructions #3

GoogleCodeExporter opened this issue Apr 22, 2015 · 24 comments

Comments

@GoogleCodeExporter
Copy link

hi mr. bald,

since I use the VLC alot, I would really like to get your nice app to work
on my G1.
I have the VLC on my osx leopard. I changed the preferences like in the
attached screenshots.

Now when I start the vlc-remote on my G1 and put in 192.168.178.20:8080 I
get an connection refused error.
Do I have to make some changes in the network-preferences in osx? does it
work with osx?
sorry for all the questions, but I´m helpless here :)

many thnx in advance for your help,
steffen.

Original issue reported on code.google.com by sto...@gmail.com on 19 Jul 2009 at 3:05

Attachments:

@GoogleCodeExporter
Copy link
Author

ah I forgot to put my email:  bmxsteffen@gmx.de

thnx again!

Original comment by sto...@gmail.com on 19 Jul 2009 at 3:23

@GoogleCodeExporter
Copy link
Author

Does it work when you enter http://192.168.178.20:8080 in a browser?  You might 
have
firewall issues.  It's possible that the server is set to only be accessible 
from
localhost (127.0.0.1). 

Original comment by mr.bald...@gmail.com on 5 Aug 2009 at 5:01

@GoogleCodeExporter
Copy link
Author

I've added a troublshooting menu item that links to
http://code.google.com/p/android-vlc-remote/wiki/Troubleshooting

Original comment by mr.bald...@gmail.com on 29 Sep 2009 at 2:50

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

It doesnt even work, when I put http://127.0.0.1:8080 or 
http://192.168.178.20:8080
I dont have any firewall running.. I tried the same stuff on my notebook but 
there I
also didn´t get it up and running.
when I was browsing the the folders of the vlc-app (on osx) I couldnt find any 
.host
file where it was supposed to be. maybe thats a hint?
could u please create some screenshots what the preferences in vlc, the 
hostfile and
the foldersturcture with the vlc-hostfile have to look like?
many thnx in advance!!

Original comment by sto...@gmail.com on 1 Oct 2009 at 6:20

@GoogleCodeExporter
Copy link
Author

@stoobz: If you can't access http://127.0.0.1:8080 from the computer running 
VLC, you
probably don't have the Web interface turned on in the VLC settings.  Make sure
you're running the latest version of the server too (1.0.2).

Original comment by mr.bald...@gmail.com on 2 Oct 2009 at 3:43

@GoogleCodeExporter
Copy link
Author

ok I got the latest vlc-version installed, but still no luck :(
cant even connect to http://127.0.0.1:8080
if I put it without the port like: http://127.0.0.1 then it opens a page just 
saying:
"it works" in the upper left corner.

can u please send me a screenshot what to put exactly in the vlc-preferences?
thank u so much!

Original comment by sto...@gmail.com on 7 Oct 2009 at 5:37

@GoogleCodeExporter
Copy link
Author

ah - and I still cant find the .hosts file!

please see screenshot:

Original comment by sto...@gmail.com on 7 Oct 2009 at 5:45

Attachments:

@GoogleCodeExporter
Copy link
Author

> I still cant find the .hosts file!
Files starting with '.' are hidden files.  I don't have a Mac, but there is 
probably
some option to show hidden files in the menus.  If you can find it, would you 
mind
writing down detailed instructions so I can post them on the wiki?

Thanks!
  Peter


Original comment by mr.bald...@gmail.com on 9 Oct 2009 at 4:09

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

hey peter,
I´d be happy to write a tutorial for all the people who have the same probs as 
I do.
I now found the .hosts-file and it looks like this:

#
# Access-list for VLC HTTP interface
# $Id$
#

# localhost
::1
127.0.0.1

# link-local addresses
#fe80::/64

# private addresses
#fc00::/7
#fec0::/10
#10.0.0.0/8
#172.16.0.0/12
#192.168.0.0/16
#169.254.0.0/16

# The world (uncommenting these 2 lines is not quite safe)
#::/0
#0.0.0.0/0


is this correct, or do I have to change something?
thnx and have a nice weekend!
steffen.

Original comment by sto...@gmail.com on 9 Oct 2009 at 5:21

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

When you find the .hosts file, replace its contents with:

::/0
0.0.0.0/0

Original comment by mr.bald...@gmail.com on 10 Oct 2009 at 1:16

@GoogleCodeExporter
Copy link
Author

P.S. As the comment says, "uncommenting these 2 lines is not quite safe".  Any
computer on the same network (including your phone) will be able to use the 
interface
and browse your PC, so make sure you are on a trusted network (e.g., a personal 
home
network behind a router).

Original comment by mr.bald...@gmail.com on 10 Oct 2009 at 1:24

@GoogleCodeExporter
Copy link
Author

cool, it finally works! I also had the wrong entries in the vlc-preferences:
instead of the whole ip I just had typed in the port-number...

the next days I will make some screenshots for the wiki, ok?
thnx again!

Original comment by sto...@gmail.com on 15 Oct 2009 at 11:45

@GoogleCodeExporter
Copy link
Author

Hi, I have OSX Snow Leopard 10.6.1 and I can explain how setup correctly VLC 
(my 
version in 1.0.2)
It's all quite simple: once you have all option displayed (VLC -> 
Preferences...) 
just go to Interface -> "Main interfaces" and check the HTTP interface in the 
page 
list.
You don't need to setup other things for basic usage. Save settings and quit 
VLC.
Then open Terminal.app (under Utilities) and paste this:
nano /Applications/VLC.app/Contents/MacOS/share/http/.hosts

Now, you can edit the file as you want. If you are a newbie, just add at the 
end of 
that file:
192.168.1.2/255
(where 192.168.1 corresponds to your network configuration) and press "CTRL+x" 
than 
"y" and finally "ENTER"
Now any device connected to your LAN can see VLC on your Mac.

Last step: start VLC and check if your browser see http://you_ip:8080/
If not, you have a firewall issue. Otherwise it's all set up and you will see 
your 
VLC service from Android too.

Cheers

Original comment by albertog...@gmail.com on 2 Nov 2009 at 9:14

@GoogleCodeExporter
Copy link
Author

Original comment by mr.bald...@gmail.com on 25 Nov 2009 at 4:07

  • Changed title: Improve VLC setup instructions

@GoogleCodeExporter
Copy link
Author

Issue 23 has been merged into this issue.

Original comment by mr.bald...@gmail.com on 25 Nov 2009 at 4:07

@GoogleCodeExporter
Copy link
Author

Issue 32 has been merged into this issue.

Original comment by mr.bald...@gmail.com on 24 Feb 2010 at 4:53

@GoogleCodeExporter
Copy link
Author

For all the newbies out there:

The instruction

"Now, you can edit the file as you want. If you are a newbie, just add at the 
end of 
that file:
192.168.1.2/255"

isn't quite correct. You have to figure out the IP Adress of your Phone 
(Settings-
>Network->WLAN Settings(in German it is WLAN, no idea if it is WiFi or 
something 
else in english), then tap the Network you are connected to. In the small 
window 
that opens, you IP Address is shown). Use that address in the following line:

x.x.x.x/32

where x.x.x.x is you address. 
The /255 doesn't really make sense and your phone won't have the 2 as last part 
of 
the address in many networks...

The problem with this simple solution is, that you have to do it again if the 
address of your phone changes, which can happen sometimes.

Original comment by the.vort...@googlemail.com on 26 Mar 2010 at 11:20

@GoogleCodeExporter
Copy link
Author

If you see this error :

java.IO.FileNotFoundException:
http://192.168.200.200:8080/requests/browse.xls?dir=

Then you probably need to set the source directory to :

C:\Program Files (x86)\VideoLAN\VLC\http

Original comment by daz...@gmail.com on 2 May 2010 at 1:02

@GoogleCodeExporter
Copy link
Author

Original comment by mr.bald...@gmail.com on 23 Dec 2010 at 4:47

  • Added labels: Type-Other
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Issue 33 has been merged into this issue.

Original comment by mr.bald...@gmail.com on 31 Dec 2011 at 9:51

@GoogleCodeExporter
Copy link
Author

Issue 131 has been merged into this issue.

Original comment by mr.bald...@gmail.com on 2 Jan 2012 at 3:03

@GoogleCodeExporter
Copy link
Author

I encountered this after the 2.0.5 update. Even after uncommenting my local 
subnet I was unable to connect (403 forbidden.) I had to uninstall, change 
.hosts, encounter error, reinstall, repeat 3 times before it worked. And it's 
not in C:\Program Files (x86)\VideoLAN\VLC\http anymore, it's in 
C:\Program Files (x86)\VideoLAN\VLC\lua\http

Original comment by justinac...@gmail.com on 20 Jan 2013 at 12:41

@GoogleCodeExporter
Copy link
Author

I wanted to add, that with 64 bit VLC no matter what I did with .hosts it did 
not work

Original comment by justinac...@gmail.com on 20 Jan 2013 at 12:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant