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
iptables will only allow the port to get in, it will not "open" the port!
If you want to check what ports are allowed by iptables, you should you
iptables -L -nv