run angular project on different port code example
Example 1: how to assign port in angular
ng serve --port 4401
Example 2: how to use another port in angular
ng serve --port 4300
Example 3: make angular to run on a different port
"projects": {
"my-cool-project": {
... rest of project config omitted
"architect": {
"serve": {
"options": {
"port": 1337
}
}
}
}
}