Nabil Sham
Nabil Sham

Reputation: 2355

Apache Tomcat failed to start, port already in use

Apache tomcat 7.0.42 failed to start today on centos server.

SEVERE: Failed to initialize end point associated with ProtocolHandler ["ajp-bio-8009"]
java.net.BindException: Address already in use <null>:8009

I found and killed all processes using that port using

netstat -tulpn | grep :8009

I restarted the server. And changed the port to 8089 or 8189, still same error

SEVERE: Failed to initialize end point associated with ProtocolHandler ["ajp-bio-8009"]
java.net.BindException: Address already in use <null>:8089

Any idea what could be wrong ?

Upvotes: 0

Views: 787

Answers (1)

santiago92
santiago92

Reputation: 297

Try netstat -atn | grep 8009 and kill proc with 9 signal

Upvotes: 1

Related Questions