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