I'll test a website on my Android phone. For this I've shut down my firewall on my Windows 10 desktop and tried to browse to my desktop IP address 192.168.0.168 on my Android device. The port number is 4200, so the URL I've tried is http://192.168.0.168:4200
.
The problem is that the browser I'm using said that the site can't be reached. The smartphone and desktop are on the same wifi network.
The site is reachable on my own desktop on the address http://localhost:4200
.
I've done a ping command from my Android device with a terminal and the ping commands could reach my desktop. So what's the problem with my network?
Thanks in advance.
ng serve
using Angular-CLI. I don't know if you got knowledge of Angular-CLI but I've done nothing else (except shutting down my firewall). – H. Pauwelyn Mar 28 '17 at 13:22ng serve
isn't a properly configuration webserver because if I start a react application usingnode node_modules/react-native/local-cli/cli.js start --root .
, well the site is reachable from my Android device on port 8081. – H. Pauwelyn Mar 28 '17 at 13:40