local 1433 sql server port not connect in sql server code example Example: sql server port 1434 UDP port 1434 is used for SQL Server named instances.