Open ports in linux ubuntu

0

I need to open port 8443 on my computer, investigate and I do it with

sudo iptables -A INPUT -p tcp -i eth0 --dport 8443 -j ACCEPT
sudo iptables -A OUTPUT -o eth0 -p tcp --sport 8443 -m state --state ESTABLISHED -j ACCEPT

but when doing netstat -tuna it does not appear: (

Am I doing it right or am I stirring things up? Thank you very much

    
asked by Gaby L 25.11.2017 в 00:43
source

0 answers