Change Default port in agular 4
The port 4200 is default for angular 2 and above version project so that we are unable to run more that project in same time. the alternate way run the project in different port each project.
There are some ways
Using Command
Run the server by the below command
ng serve --port 4200
Another way
Change the line in package.json like below
"scripts": {
"start": "ng serve --port 5000"
}