I need to run an app on my computer which connects to local port 49100. So everything runs on one computer.
I tried adding rules to gufw, firestarter, manually:
sudo iptables -A INPUT -p tcp --dport 49100 -j ACCEPT
But when I look at opened ports 49100 is not listed! And my app cannot connect to local debugger therefore. I ran:
sudo netstat -anltp | grep "49100"
it returns nothing.