I'm viewing a locally hosted website (using grunt serve
, if that matters). I can view it via http://localhost:9000/
or http://127.0.0.1:9000/
, but not via http://10.0.0.16:9000/
.
10.0.0.16 is my local IP address (from ifconfig
or System Preferences), but I cannot access my locally hosted content at http://10.0.0.16:9000/
from either the device that is hosting it or from other devices on the network.
I haven't had trouble using my local IP address to access locally hosted sites when my computer is on other networks, only on my home network. Do you have any idea what needs to change?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…