Read the statement by Michael Teeuw here.
node serveronly not working
-
Hi,
I try to reach my MM on serveronly mode.The command says : Ready to go! Please point your browser to: http://localhost:8080
But when I go to http://localhost:8080
the browser says: Not reachable
("Diese Website ist nicht erreichbarlocalhost hat die Verbindung abgelehnt.")
What do I have to do?
Thanks
-
localhost will only work if you’re trying to access the site on the raspberry itself, on a diferent device you have to replace localhost with the ip of the raspberry
-
@strawberry-3.141 said in node serveronly not working:
localhost will only work if you’re trying to access the site on the raspberry itself, on a diferent device you have to replace localhost with the ip of the raspberry
I was on the raspi
-
Did you change the ip whitelist?
-
@creye this feature is just available since two weeks and the device the magicmirror is running on is allowed by default
-
I realize that this topic is about 2 months old, but I’m going to add some possible troubleshooting steps for anyone who may run into this problem. Hopefully OP already has this resolved.
@Jeff while on RasPi terminal can you try to execute this command
ping localhost? you should see output similar to this:$ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.253 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.268 ms 64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.257 ms ... ...as you can see hostname
localhostresolves to ip address127.0.0.1which is very common. you can also try to enterhttp://127.0.0.1:8080in your browser.if the above works and after
node serveronlyis running, can you please try to execute following commandcurl -I http://localhost:8080? your output should be similar to this:$ curl -I http://localhost:8080 HTTP/1.1 200 OK X-Powered-By: Express Accept-Ranges: bytes Cache-Control: public, max-age=0 Last-Modified: Wed, 21 Dec 2016 06:49:47 GMT ETag: W/"8da-15920249be6" Content-Type: text/html; charset=UTF-8 Content-Length: 2266 Date: Sun, 15 Jan 2017 23:09:37 GMT Connection: keep-aliveif it’s not double check your
config.jsto make sure your server is running on port 8080
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