• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting default port

 
aakash bhatt
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Currently I have installed the Tomcat server in my PC. After I start the server, I need to type http://localhost:8080/index.jsp in my browser to see the page.

Could there be any setting where in I type just http://localhost then it redirects to my index page where i do not need to specify the port address

Thanks,
aakash
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set this in TOMCAT_HOME/conf/server.xml

Just search for "8080" and you'll find the section
 
Craig Jackson
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you can change the port number in TOMCAT's server.xml. Where exactly in the server.xml, I am not sure. Just be carefull modifying the server.xml.

Just look for "8080" and change it to "80"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic