How can I allow access outside the localhost at Angular2? I can navigate at localhost:3030/panel easily but I can not navigate when I write my IP such as
A quick solution that might help someone :
Add this line as value for start ng serve --host 0.0.0.0 --disable-host-check
in your package.json
ex:
{
"ng": "ng",
"start": "ng serve --host 0.0.0.0 --disable-host-check",
"build": "ng build",
}
And then simply do start or npm run start
you will be able to access your project from other local IPs.