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