User Manual

HOW TO CHANGE PORT OF APACHE TOMCAT SERVER

Step 1: Navigate to directory where apache tomcat server installed
<HOME_DIR>/ apache-tomcat-9.0.0.M26\conf
Step 2: Open server.xml file in notepad and search for “Connector port=”
Example: <Connector port=”8080″ protocol=”HTTP/1.1″
connectionTimeout=”20000″
redirectPort=”8443″ />
Step 3: change Connector port for protocol=”HTTP/1.1
Example: <Connector port=”8090″ protocol=”HTTP/1.1″
connectionTimeout=”20000″
redirectPort=”8443″ />
Step 4: Save file and start server. Now open URL with updated one port number.
Step: 5: If server is already added in eclipse then double click on tomcat server and expand port tab and update port for HTTP/1.1.

Leave a Reply

Your email address will not be published. Required fields are marked *