I noticed this morning the iptables firewall was not starting due to the fact that I rebuilt the kernel and forgot to include the relevent Netfilter modules. So I added those and rebooted. The firewall still fails, but rather that referring to the non-available ip_tables module, it now just says iptables.init: iptables: Applying firewall rules: iptables-restore: line 13 failed.
I get the following error when I run my JSP file in Eclipse-Juno with Tomcat v7:
'starting Tomcat v7.0 server at localhost' has encountered a problem.
Port 8080 required by Tomcat v7.0 server at localhost is already in use. The server may already be running in another process, or a system process may be using the port.
I am setting up tomcat server on my Centos 5.5 machine. I've been advised to run tomcat on 8080 as non root user and redirect traffic to it from port 80.
I searched and found the following iptables commands for this:# iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT -to-ports 8080
# iptables -I INPUT -p tcp --dport 8080 -j ACCEPTI have a doubt: