How to fix SEVERE Failed to initialize component Connector


In this tutorial, we will learn how to fix the Failed to initialize component Connector HTTP/1.1-8080 error during the Apache Tomcat server. This error indicates that the server failed to start on the port 8080.


SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-8080]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed.

Apache Tomcat Error Connector Component 8080

Port Conflict

This error happens when there is a port conflict. Here, in this case, some application is listening on the port 8080. Jenkins CI server runs and listens on port 8080 on my machine.


Caused by: Address already in use: bind
at java.base/ Method)
at java.base/
at java.base/
at java.base/
at java.base/
at org.apache.coyote.AbstractProtocol.init(
at org.apache.coyote.http11.AbstractHttp11Protocol.init(
at org.apache.catalina.connector.Connector.initInternal(


Jenkins on Port 8080


We can fix the error by changing the port of the Apache Tomcat server.

The connector port is specified in the server.xml file under

<tomcat dir>\conf directory.

Change the connector port to let’s say 9090 port number.

<Connector port=”9090″ protocol=”HTTP/1.1″
redirectPort=”9443″ />


Connector Server.xml


Save the changes to the file.

Restart Apache Tomcat Server.


Tomcat port 9090