vendredi 15 septembre 2017

How do I host a node based website on my mac and access it from my iPhone over wifi?

How do I host a node based website on my mac and access it from my iPhone? Both my mac(Sierra) and iPhone(iOS 10.3.3) are on the same wifi. I can see my website on my mac by going to http://localhost:3000/. I have already read many similar articles, but nothing has worked yet. I already tried using my computer name found in the sharing system preference. My computer name is hMac.local. So this means on my iPhone, I should be able to access it by typing http://hMac.local:3000/. But I can't. Safari hangs and then returns "Safari could not open the page because the server stopped responding". I turned the firewall off. There is obviously something I'm missing. Any ideas?

Aucun commentaire:

Enregistrer un commentaire