0

I have a domain name and I have connected a domain name to my IP address but when I enter a domain name, by default port 80 is used and to see the jsp page. I have to write domain-name:8080. So how do I make 8080 port a default port so that when domain name is entered it directly goes to port 8080.

  • I don't understand your question. Do you want to write a jsp page that will redirect to an address on port 8080? The browsers control what port is used for http by default. – jaycer Jul 29 '16 at 15:17
  • 1
    You could rather change a listening port of your servlet container (like [here](http://stackoverflow.com/questions/4756039/how-to-change-the-port-of-tomcat-from-8080-to-80)) from 8080 to 80. Otherwise, an answer will depend on the environment you use. – mr.tarsa Jul 29 '16 at 15:30
  • Yes just change the server to listen on port 80. – takendarkk Jul 29 '16 at 18:02
  • @takendarkk how to change server to listen on port 80 – arya meena Aug 04 '16 at 07:49
  • What server are you running? – takendarkk Aug 04 '16 at 13:33

0 Answers0