gruntjs / grunt-contrib-connect

Start a static web server.
http://gruntjs.com
MIT License
714 stars 146 forks source link

Cannot access Angular App hosted on CentOS 7 VM in Windows 10 #259

Closed br0vahkiin closed 4 years ago

br0vahkiin commented 4 years ago

Hi all -

I am currently trying to access my angular app that I had created in a CentOS VM through Chrome on a Windows 10 VM.

I tried running the command ng serve --host 0.0.0.0 and allowed port 4200 through my firewall but I am unable to access the demo page in Chrome while the app server is running.

When I try to change the host IP to the IP of the VM running Windows 10, I get the following error:

'An unhandled exception occurred: listen EADDRNOTAVAIL: address not available 192.168.x.x:4200'