2 Replies Latest reply on Jan 30, 2002 12:06 AM by andrika

    Change default port 8080 to 80

    andrika

      I have a web application which I am accessing using http://localhost:8080/webcams, but I would like to make this my start page, i.e., http://localhost/, or at least http://localhost/webcams

      What do I change my start page? I am using JBoss-2.4.4_Jetty-3.1.3-1 on NT.

      Thanks in advance!

        • 1. Re: Change default port 8080 to 80
          dplante

          check out my post today in the FAQ board - I saw this info in another catagory, but thought it would be useful there. Not sure it will work with Jetty, but it does work with JB2.4.4 + Tomcat 4.0.1 - in fact, if it does work with the version of Jetty you are using, why don't you reply to that message and say that it's also tested with Jetty :)

          Hope this helps
          Dom.

          • 2. Re: Change default port 8080 to 80
            andrika

            Actually, the solution is different for Jetty, since there is no "EmbeddedTomcat" but I managed to find the solution.

            To change the default port using Jetty, you need to change the jetty.xml file:





            80
            ...

            Making the web application the default page, i.e., http://localhost instead of http://localhost/webcams is also done in jetty.xml, by changing /webcams/* to / in the section.

            Best regards,

            Andrea