Gitpod: [Angular ] ng serve not working (solved)

Created on 19 Jun 2019  路  2Comments  路  Source: gitpod-io/gitpod

Describe the bug
port 4200 exposed, preview not working

image

To Reproduce
npm install -g @angular/cli
ng new myapp
ng serve --disable-host-check

Expected behavior
preview on port 4200 should work

Most helpful comment

You need to do:

ng serve --disable-host-check --host 0.0.0.0 

All 2 comments

You need to do:

ng serve --disable-host-check --host 0.0.0.0 

Thanks @svenefftinge it worked . closing this issue now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akosyakov picture akosyakov  路  3Comments

LezaiNiubi picture LezaiNiubi  路  3Comments

mouse484 picture mouse484  路  3Comments

bytekast picture bytekast  路  3Comments

kuniss picture kuniss  路  3Comments