Port 1433: SQL Server (Microsoft SQL Server)
What port 1433 (TCP) does, the security risks of leaving it open, and how to secure and test it.
| Port | 1433 |
|---|---|
| Transport | TCP |
| Service | Microsoft SQL Server (SQL Server) |
| Encrypted | Optional (TLS) |
What is port 1433?
TCP 1433 is the default port for Microsoft SQL Server databases.
Common uses
- Applications connecting to SQL Server databases
Security risks
- Internet-exposed databases attacked with password guessing
- Weak "sa" passwords and SQL injection leading to data theft
- Unencrypted connections exposing data
How to secure port 1433
- Never expose SQL Server to the internet
- Disable or rename the sa account and use Windows authentication
- Force encrypted connections
- Allow only application servers to connect
How to check if port 1433 is open
| Where | Command |
|---|---|
| Scan from another machine | nmap -p 1433 <host> |
| Windows (PowerShell) | Test-NetConnection <host> -Port 1433 |
| Linux (what is listening) | sudo ss -tulpn | grep :1433 |
| Windows (what is listening) | netstat -ano | findstr :1433 |
Only scan systems you own or have permission to test.
Example: block it at the internet edge (Cisco)
For a service that should stay inside your network, deny it on the internet-facing interface. Put the rule before any broader permit statements:
ip access-list extended INTERNET-IN
remark Block SQL Server from the internet
deny tcp any any eq 1433
permit ip any any
!
interface GigabitEthernet0/0
ip access-group INTERNET-IN inIn a real network the final line would be your normal inbound policy, not "permit ip any any". Build and check rules with the ACL builder.
Related ports
Frequently asked questions
What is port 1433 used for?
Port 1433 (TCP) is used by Microsoft SQL Server (SQL Server). TCP 1433 is the default port for Microsoft SQL Server databases.
Is it safe to open port 1433?
Only if the service needs to be reached and is configured securely. Never expose SQL Server to the internet.
How do I check if port 1433 is open?
From another computer, run nmap -p 1433 followed by the host address. On the server itself, ss -tulpn on Linux or netstat -ano on Windows shows whether anything is listening on 1433.
Learn more: TCP, UDP and ports explained and firewall basics.