how to check if sql server is listening on port 1433 code example Example: sql server port 1434 UDP port 1434 is used for SQL Server named instances.