How to Fix “Port 4200 is already in use” error

In this tutorial you will learn about the How to Fix “Port 4200 is already in use” error and its application with practical example.

How to Fix “Port 4200 is already in use” error

Sometimes when you running your node js application, you may “Port 4200 is already in use” error. This is mainly happens because of any other application running on the same port. In order to fix this error you can start your application on different port or you can terminate the existing application running on the same port. Instruction to terminate the running application are as below –

Open Command Prompt and type –

How to Fix "Port 4200 is already in use" error

Find the PID of the process that you want to terminate and then type –

This one 1800 is the PID for the process that I want to kill.

In this tutorial we have learn about the How to Fix “Port 4200 is already in use” error and its application with practical example. I hope you will like this tutorial.