Kubernetes connection refused although service is exposed as NodePort
If you are using angular-cli, you would have to run ng serve --host 0.0.0.0
in order for angular cli to expose the angular-life-server.However it is not recommended to do this for production purposes, as the angular-life server is not fully reviewed for security concerns, but only meant as a development tool. To deploy you angular app for production, it would be best to do a production build (ng build --prod
) and deploy the result inside e.g. a nginx-container.