I installed Angular inside a Docker container ( fabiojanio / ionic ) however, I can only access the application when I start the server this way:
ng serve --host 0.0.0.0
I would like to use only:
ng serve
How to do this?
I installed Angular inside a Docker container ( fabiojanio / ionic ) however, I can only access the application when I start the server this way:
ng serve --host 0.0.0.0
I would like to use only:
ng serve
How to do this?
Using the --host 0.0.0.0 you are releasing external access to the Angular development server.
By default the server goes up as host localhost
What would prevent access to the angular server from outside the container.
I think I should keep the host as it has already done.
I hope I have helped