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>
enter image description here
Only one thing you have to do. Type this in in your Command Prompt: ng serve --port 4021 [or any other port you want to assign eg: 5050, 5051 etc ]. No need to do changes in files.