1 Reply Latest reply on Dec 5, 2003 3:30 AM by milowe

    Running Jboss/Tomcat as a non-root User on Port 80

    rpeiper


      I am sure I am missing something simple. I cannot bind to port 80 as the Jboss user since that user is unpriveleged. When I try I get this exception:

      java.net.BindException: Permission denied:80

      How do I go about starting Jboss on Port 80 without using a priveleged user?

      Thanks,
      Richard

        • 1. Re: Running Jboss/Tomcat as a non-root User on Port 80
          milowe

          Privileged ports are restricted to privileged users, makes some sense :)
          If you really want it to run @ port 80 you need to start service as user with proper rights.
          This is not a good option for security reasons.
          You are better off using NAT in your router/firewall to map incoming request @ port 80 to your custom port defined in jboss-service.xml in the web sar.

          /micke