enable port 1433 sql server code example Example: sql server port 1434 UDP port 1434 is used for SQL Server named instances.