0

I did my research but I still can't figure out the solution.
I want to connect to port 8888 of my PC from a remote server.
When I ping my PC from a remote server with ping <my ip>, it pings.
When I try to connect to 8888 port using telnet <my ip> 8888, it prints Connection refused.
https://canyouseeme.org/ shows "Connection refused" when I try to connect to my ip, port 8888.
I have a static IP option by ISP. ISP doesn't block the port (at least the support says so).
8888 is listened (sudo lsof -i -P -n | grep 8888).
Wi-Fi Router Firewall is turned off.
DMZ on Wi-Fi Router is turned on.
Ubuntu Firewall is turned off (sudo ufw status prints "Inactive"). I can connect from my PC to itself using telnet 127.0.0.1 8888.

What else am I missing? The next step I'm going to take is to avoid Wi-Fi Router and to connect the PC directly (I need a converter for it, I will get it tomorrow).

  • Sounds like the service configured to only listen on localhost rather than external interfaces / IP’s – HBruijn Sep 02 '23 at 09:16
  • Does this answer your question? [What causes the 'Connection Refused' message?](https://serverfault.com/questions/725262/what-causes-the-connection-refused-message) – HBruijn Sep 02 '23 at 09:17

0 Answers0