Port 1433 is the default Microsoft SQL Server port. Like all database ports, it must never be exposed to the public internet. SQL Server supports TLS encryption on port 1433 with certificate-based authentication. Windows Firewall should restrict access to only application server IPs. Named instances use SQL Server Browser on UDP 1434 to resolve to dynamic ports.
Port Number
1433
Protocol
TCP
Service
Microsoft SQL Server
Range
IANA Registered (1024–49151)
Test connectivity and show SQL Server version
sqlcmd -S host,1433 -U sa -P pass -Q 'SELECT @@VERSION'Remote SQL Server detection and version fingerprinting
nmap -sV -p 1433 --script ms-sql-info targetPowerShell TCP connectivity test to SQL Server
Test-NetConnection -ComputerName host -Port 1433sqlcmd -S localhost,1433 -U sa -P password
jdbc:sqlserver://localhost:1433;databaseName=mydb
ssh -L 1433:localhost:1433 user@serverSQL Server was originally co-developed by Microsoft and Sybase in 1989. Microsoft took full ownership with SQL Server 7.0 (1998). Port 1433 was registered with IANA for ms-sql-s. Azure SQL Database (2010) made port 1433 the standard for cloud SQL Server with forced TLS.
Why does SQL Server use both TCP 1433 and UDP 1434?
TCP 1433 carries the actual database protocol (TDS). UDP 1434 runs the SQL Server Browser service which maps instance names to their actual TCP ports (named instances use dynamic ports). If you only run one default instance, you do not need UDP 1434.
How do I connect to Azure SQL Database?
Azure SQL enforces TLS on port 1433 with no option to disable it. Connection string: Server=tcp:yourserver.database.windows.net,1433;Encrypt=True;TrustServerCertificate=False. Firewall rules in Azure portal must allowlist your client IP.