In order to allow input from port 8443, I have inputed the iptables rule:
-A INPUT -i eth0 -p tcp --dport 8443 -j ACCEPT
However, when I type:
$ netstat -a
There is no reference to https or 8443. The result is:
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:6311 *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 gauss:ssh ommited ESTABLISHED
tcp 0 0 gauss:ssh omitted ESTABLISHED
tcp 0 0 localhost:6311 localhost:48872 ESTABLISHED
tcp6 0 0 localhost:8005 [::]:* LISTEN
tcp6 0 0 [::]:8009 [::]:* LISTEN
tcp6 0 0 [::]:www [::]:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
tcp6 0 0 localhost:48872 localhost:6311 ESTABLISHED
udp 0 0 *:mdns *:*
udp 0 0 *:52703 *:*
udp6 0 0 [::]:42168 [::]:*
udp6 0 0 [::]:mdns [::]:*
How can I successfully open port 8443?
Thanks
netstat -alists the ports on which something is listening, not the ports that are open w.r.t. the firewall. – Rob Dec 13 '11 at 20:23netstat -ait means that Tomcat is not working with it? I mean, can I conclude that the problem is with Tomcat and not with firewall? – jdanielnd Dec 13 '11 at 20:31netstat -a. However I still can't ping or access 443. What else could be blocking it? – João Daniel Dec 13 '11 at 20:52pingis not the right tool for testing a TCP port, because ping uses ICMP. – Ben Voigt Dec 13 '11 at 21:02