Cannot open port via iptables nor ufw
I am trying to open port 53589 to start a taskwarrior server.
I did this:
sudo iptables -I INPUT -p tcp -m tcp --dport 53589 -j ACCEPT
sudo ufw allow 53589/tcp
I start the server, but it does not seem to work.
I tried to connect via telnet to test the port, but still nothing
telnet my.domain 53589
when I try to connect to port 80 or 22 it works
I am on Ubuntu 15.04