I want to know if i can set a host and a port in a config file so I don\'t have to type
ng serve --host foo.bar --port 80
instead of just>
Another option is to run ng serve command with the --port option e.g
ng serve
--port
ng serve --port 5050 (i.e for port 5050)
ng serve --port 5050
Alternatively, the command: ng serve --port 0, will auto assign an available port for use.
ng serve --port 0