All incoming connections seem to be refused on my Fedora machine, except on port 80 with apache.
The ports I have tried are 8111 and 1111, neither does work. I have done the forwarding on my hardware router and configured the firewall (iptables, using the GUI) to allow connections on those ports. However, it is still not working.
When I run a small HTTP server (the node.js hello-world) on one of these ports and try to curl it, it only works on localhost but not with the public ip address.
Using the public address, I immediately get
curl: (7) couldn't connect to host.
Without the port forwarding or the firewall exception, this takes a while and does not appear immediately - so i think that that's not the problem. I also tried using the web browser instead of curl, without any difference.
I have tried a tool named
tcptrack, which shows this whenever I try to curl using the public address (I changed the public address here, 192.168.0.2 is the local one):
126.96.36.199:52014 192.168.0.2:1111 RESET 16s 0 B/s 192.168.0.2:52014 188.8.131.52:1111 RESET 16s 0 B/s
So I am receiving the packages but they are rejected somehow (I don't know exactly what RESET means). Is there another firewall or something? Like I said, port 80 works fine.