Idea startup error: Port occupied/address already exists

Error message:

org.apache.catalina.LifecycleException: Failed to start component


Open the CMD command window and enter the netstat – ano command to view all ports and PIDs (the number in the last column).

Find the occupied port at the local address and write down the PID value.

Enter the instruction tasklist | findstr “PID value” to find the corresponding process.

Kill the process and restart.   Example: taskkill/F/T/im java.exe & lt– Java.exe is the process found in the previous step — & gt;

Read More: