Port-based site not working in Frappe v15

Issue:

I am running Frappe v15 on an Ubuntu server and trying to access my site using port-based URL.
I have set up port forwarding in PuTTY, but I cannot access the site via http://localhost:8000.

What I Have Tried:

  • Checked if Bench is running (bench start).
  • Verified port status (ss -tulnp | grep 8000).
  • Allowed firewall (sudo ufw allow 8000/tcp).
  • Set up port forwarding in PuTTY.

Error Message:

This site can’t be reached

Check if there is a typo in library.local.

  • If spelling is correct, [try running Windows Network Diagnostics](javascript:diagnoseErrors()).

DNS_PROBE_FINISHED_NXDOMAIN

I would appreciate any guidance!

Have check that whether you can able to ping that port