ng server port code example
Example 1: angular ng serve with custom port
ng serve --port 4401
Example 2: angular serve open
ng serve -o
Example 3: make angular to run on a different port
"projects": {
"my-cool-project": {
... rest of project config omitted
"architect": {
"serve": {
"options": {
"port": 1337
}
}
}
}
}