FreeKB - Tomcat Web browser port
Tomcat - Web browser port

The ports used by Tomcat web browser interface are listed in the server.xml file. By default, Tomcat listens for HTTP connections on port 8080 and HTTPS connections on 8443. However, HTTPS is disabled by default. Refer to Tomcat - Encrypt inbound requests (SSL / TLS / keystore) for the steps on how to setup Tomcat to use HTTPS.

<Connector port="8080" 
           protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="8443" />

 

If you want to update Tomcat to listen on some other port for HTTP and HTTPS, you will:

  1. Shutdown Tomcat
  2. Update the HTTP and HTTPS port in server.xml
  3. Startup Tomcat

 

Tomcat can now be accessed using the new port. In this example, Tomcat is listening for HTTP connections on port 8081.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter b4989 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |