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