3 Replies Latest reply on Aug 23, 2003 2:04 AM by Jon Barnett

    Jetty only responds to port 8080

    Jeremy Newbie

      Hi,

      I installed Jboss 3.x w/ Jetty. It only responds to port 8080. I have to have http://myhost:8080/MyServlet

      I also have PHP installed will this conflict?

        • 1. Re: Jetty only responds to port 8080
          Jon Barnett Master

          Have you changed your port bindings for the Jetty listener? It is located in jbossweb.sar/META-INF/jboss-service.xml in 3.0.x. It is in jbossweb-jetty.sar/META-INF/jboss-service.xml for 3.2.x.

          Note you cannot bind to a port that is already used - if you already have a web server associated with PHP then you cannot use the port that web server uses.

          Also, if you are a non-root user in a Unix environment, you will not be able to bind to a port below 1024.

          • 2. Re: Jetty only responds to port 8080
            Jeremy Newbie

            If you have both Jetty / PHP on same server can you set certain domains to work on the default port w/ Jetty and some domains w/ PHP?

            • 3. Re: Jetty only responds to port 8080
              Jon Barnett Master

              If you are using a web server with PHP that supports JK or JK2 then you can direct requests based on domain or on context matches or both to the JBoss-Jetty via AJP13 (the port 8009 listener defined in the Jetty META-INF/jboss-service.xml). You can read more about this both in these forums, at the Apache jakarta.apache.org/Tomcat site and from the Web.