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