-
1. Re: Problem: starting jboss service on port < 1000 (80 to be
jules Oct 14, 2002 6:53 PM (in response to katazan)Look through this forum for the JBoss/Jetty FAQ - there is an item on exactly this.
Jules -
2. Re: Problem: starting jboss service on port < 1000 (80 to be
jules Oct 15, 2002 5:17 AM (in response to katazan)Sorry - not this forum - the web forum.
-
3. Re: Problem: starting jboss service on port < 1000 (80 to be
katazan Oct 16, 2002 10:13 PM (in response to katazan)Thanks...I'll check it out...do you have a link?
-
4. Re: Problem: starting jboss service on port < 1000 (80 to be
techmonkey Dec 18, 2002 10:22 PM (in response to katazan)had the same problem. I wanted to run JBoss as a non-root user for security reasons. I got an error trying to bind to port 80. So here is how I solved it (for Linux)
I setup my JBoss to run on port 8080 as user JBoss.
I changed Linux to redirect port 80 to port 8080, effectively bypassing the security restriction of non-root users binding to port 80.
The redirect command is as follows:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
You will need to integrate this into whatever iptables commands you are already using. -
5. Re: Problem: starting jboss service on port < 1000 (80 to be
mjdinsmore Dec 20, 2002 11:16 AM (in response to katazan)That seems like a convoluted way AROUND the problem. Why don't you just change the tomcat41-service.xml file and modify the line:
to use port 80 like it is here. That will work fine, and if you have multiple IP adresses on the machine, you can also add in the address attribute.
-Michael -
6. Re: Problem: starting jboss service on port < 1000 (80 to be
techmonkey Dec 20, 2002 10:14 PM (in response to katazan)that works fine if you run JBoss as "root". However, I consider that a security risk, and would rather run JBoss as a user who couldn't accidently delete every file on my system.
Yeah, the solution is pretty convulted, but it gives me the best security on port 80.