When I installed and started IPABLES and TCP WRAPPERS, it said:
[root@localhost ~]# yum install iptables
Loaded plugins: langpacks, presto, refresh-packagekit
Package iptables-220.127.116.11-5.fc18.x86_64 already installed and latest version
Nothing to do
[root@localhost ~]# service iptables start
Redirecting to /bin/systemctl start iptables.service
Job for iptables.service failed.
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: