By default the Tomcat server run in port 8080, once you have installed in your system do run on browser with port :8080 for example,
http://192.168.0.1:8080/
Do you want to run tomcat server with port 80 instead of 8080, open the configure file $CATALINA_HOME/conf/server.xml and update it,
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8"/>
change to
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8"/>
Save the server.xml file
:wq!
Finally, Restart the tomcat server.
Now, you can run on browser with the url : http://192.168.0.1/
Comments (0)