Cannot connect to a port over the internet (works from localhost)
I’m running something on port 9292:
david@theta:~$ lsof -ni tcp:9292 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ruby 2406 david 13u IPv4 1579461398 0t0 TCP 127.0.0.1:9292 (LISTEN) david@theta:~$ telnet localhost 9292 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
The problem is that from elsewhere I cannot react it:
david@eclipse:~$ telnet 126.96.36.199 9292 Trying 188.8.131.52... telnet: connect to address 184.108.40.206: Connection refused
Port 80 works:
david@eclipse:~$ telnet 220.127.116.11 80 Trying 18.104.22.168... Connected to 22.214.171.124. Escape character is '^]'.
I’m not using any firewalls.
What else can I try?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×