Skip to content
Advertisement

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

I get the following error when running codes in Spring Tool Suite.

……………………………………………………………………

Port 8080 required by Pivotal tc Server Developer Edition v3.0 is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).

……………………………………………………………………

Below is a screenshot of the error. Error-Spring Tool Suite

Also, below is what I get on localhost:8080

localhost:8080

By changing port numbers in server.xml (i.e. <Connector acceptCount="100" connectionTimeout="20000" executor="tomcatThreadPool" maxKeepAliveRequests="15" port="${bio.https.port}" protocol="org.apache.coyote.http11.Http11Protocol" redirectPort="${bio.https.port}"/> ), I get the same error with different port numbers.

Advertisement

Answer

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.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement