Spring Tool Suite - Port 8080 required by Pivotal tc Server Developer Edition v3.0 is already in use

You have a application running on 8080, so you need to terminate whatever is running currently on 8080 port.

If you running Windows use:

netstat -a -o | find "8080"

If you running Mac OS (which i think you are) use:

sudo lsof -i :8080

Terminate that application and then launch Pivotal.

Otherwise you can change pivotal server port in the config file:

<your tc server folder location>/conf/catalina.properties

Hope that helps.


steps to be followed

  • change the port number in catalina.properties file under server folder

    e.g.
    bio.http.port=18080
    bio.https.port=18844

  • kill the java.exe running on port 8080(or any other port which poses the issue)-
    Use TcpView to kill the process on specfic port
  • Right click on the server and then click on "clean tc server work directory"
  • Right click on the server and then click on "Clean"
  • and there u go "baaaam"

    Cleaning server folder

I want to update "user4023394's" answer for windows :

  • double click on "Pivotal tc Server Developer Edition.."

enter image description here

  • a window will appear like the below image, change port number for "neo.http.port" and "neo.https.port" [circled in the image]

enter image description here

  • right click on "Pivotal tc Server .." and click on "clean tc server work directory .."

enter image description here

  • restart the server.