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