change the port of angular serve code example
Example 1: how to assign port in angular
ng serve --port 4401
Example 2: angular cli change serve port
"projects": {
"my-cool-project": {
... rest of project config omitted
"architect": {
"serve": {
"options": {
"port": 1337
}
}
}
}
}