Read the statement by Michael Teeuw here.
Can't access from external browser. (RPI zero non-W)
-
I can’t access magic mirror running on my raspberry pi zero from my computer. In config I granted all IP’s by “ipWhitelist: []” but I dont think the problem is here because browser on my computer says " refused to connect". I don’t have installed apache2.
-
Try adding the address line as seen below, or “localhost”:
var config = { address: "0.0.0.0", port: 8080, ipWhitelist: [],That should do it.
-
@Mykle1 Thanks for your answer but that doesnt work either :(
-
You are specifying the port as well in the address?
like this :
http://192.168.0.2:8080 -
@broberg Yes
-
@ImTheBadWolf said in Can’t access from external browser. (RPI zero non-W):
Thanks for your answer but that doesnt work either :(
Can you post the beginning portion of your config?
var config = { port: 8080, address: "0.0.0.0", ipWhitelist: [], language: "en", timeFormat: 12, units: "imperial", modules: [ -
This post is deleted! -
@Mykle1
var config = {
address: “0.0.0.0”,
port: 8085,
//ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “192.168.1.112”, “192.168.1.102”],
ipWhitelist: [],
language: “”,
timeFormat: 24,
units: “metric” -
So then, this SHOULD work:
http://192.168.1.20:8085 substitute your Pi’s ip address
You took the language OUT of your config???
-
Thanks guys it is working now… I dont know why but in the morning it wasnt working and now it is :D I didnt change everything except rebooted rpi so that may be the answer
-
And the " marks your have posted are the wrong type as well.
" " and not “ ”
This is a common mistakes when using word editors to alter your config file, Smart Quotes I think it’s called, and is not accepted in the code.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login