How to change the port of tomcat from 8080 to 80?
Answer / Aashish Singh Chauhan
To change the default Tomcat port from 8080 to 80, you'll need to modify the `server.xml` configuration file located in your Tomcat `conf` directory. Find the `Connector` element for HTTP connector (usually named `Http11Nio2`) and update its `port` attribute with the desired port number:
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"/>
| Is This Answer Correct ? | 0 Yes | 0 No |
Which is better jboss or tomcat?
How many database servers does facebook have?
Is tomcat a jvm?
What is a connector and how is it used in tomcat?
How do I install tomcat?
Does apache tomcat require java?
Explain the types of connectors used by apache tomcat.
Which is better jsp or php?
Why cats eat their babies?
How many requests per second does facebook handle?
Which is more secure get or post?
Explain how you can configure tomcat to work with iis and ntlm?