default port mssql code example Example: default sql server port The default port of SQL server is 1433.