Changing default serving port in Angular
You can change your application port by entering the following command,
ng serve --port 1453
Also, you can change the port by editing anglular-cli.json file:
ng serve --port 1453
Also, you can change the port by editing anglular-cli.json file:
"defaults": {
"serve": {
"host": "localhost",
"port": 1453
}
}
You can see, serve options in this link.
Yorumlar