How to avoid ‘Port 4200 is already in use’ error with Angular-CLI?

If you get this error:
port 4200 is already in use. Use –port to specify a different port
you might have left your Angular development environment without closing the node.js webserver’s port.
Here’s how you can close it without having to reboot your computer or change your application’s port.

netstat -ano | findstr :4200


tskill 10764


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s