Check if port 8080 is open
On the server, see what is listening:
sudo ss -tulpn | grep ':8080 '
From another machine, test reachability:
nc -zv your-server.example.com 8080
Block port 8080 from the internet
With UFW (Ubuntu/Debian):
sudo ufw deny 8080
With firewalld (RHEL/AlmaLinux/Rocky):
sudo firewall-cmd --permanent --remove-port=8080/tcp && sudo firewall-cmd --reload