I’ve seen this topic posted a number of times on this forum but nothing has resolved the issue for me.
I install CLI and launch a new project using all of the generic commands on cli.angular.io.
When I launch
ng serve or even
ng serve --host 0.0.0.0 --port 8080, I get “Invalid Host Header” when previewing.
A few websites have suggested: "
ng serve --host 0.0.0.0 --public-host workspace-username.c9users.io but this isn’t working for me either. When I do this the website hangs (i.e. the preview pane shows that it’s loading the site indefinitely, without it actually ever loading).
Any other suggestions I can try? Node, NPM, CLI are all latest version. Thanks.