Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make Tomcat run on 443 instead of its default port 8080? [closed]

We have a situation where we are required to run Tomcat and all its applications on port 443 instead of port 8080. Can anyone give a guidance on how this can be achieved? The process,its benefits and impacts.

like image 919
Shivayan Avatar asked Jun 24 '14 08:06

Shivayan


People also ask

Can we run Tomcat on 443?

Tomcat can be configured to listen on SSL Port 443. Then you could turn off the SSL listener in the Apache Web server and use only Tomcat to handle your SSL connections. You can modify the Tomcat configuration by editing the file named "server. xml" in the Tomcat conf directory.


1 Answers

Tomcat_home/conf/server.xml

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

change 8080 to 443
like image 102
Abhishek Mishra Avatar answered Sep 27 '22 19:09

Abhishek Mishra