Hello Everyone,
I have installed tomcat5.5 in my fedora 15 system at that time, I am new with the tomcat. So for installing it I have simply follow the instruction that i found over the net and set the port 8080 to access my web application. After that I have run my web application easily by using "http://localhost:8080/MyWebApp/WelcomePage.jsp".
But now I have to replace the "localhost:8080" by "localhost" for which i need to configure my application with port 80. I have googled for that and I found that after doing some changes in server.xml file of tomcat, I will easily get what I want.
I have changed the configuration like
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
to
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
this step I found when I googled but when I restart tomcat and enter the address "http://localhost/MyWebApp/WelcomePage.jsp" on the url my request is rejected. After that I change the port like
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
to
<Connector port="8000" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
after restart tomcat I access my page by using "http://localhost:8000/MyWebApp/WelcomePage.jsp".
please help me out of this .
Thanks & Regards,
Antrikssh