i have run this command
'iptables -A INPUT -p tcp -m tcp --dport 8001 -j ACCEPT'
how do I apply this rule permanantly? i did run 'iptables-save', but it seemed not working
Thanks a lot
I have this from 'netstat -an'
tcp 0 0 127.0.0.1:8001 0.0.0.0:* LISTEN 2021/ppstream
and this by 'iptables -L '
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:8001
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
but i still can not connect to this port, i am totally lost.