Wh开发者_如何转开发at is the difference between sql server ports 445 and 1433 and what is each port intended for?
445 is not a SQL port, is a SMB port. It is involved in SQL Server only if you use named pipes protocol, as named pipes are over SMB and this in turn uses 445 for 'SMB over IP', aka. as SMB 'NETBIOSless' as opposed to the old NetBIOS based SMB, which uses 137-139.
1433 is the SQL Server TCP listener port when SQL Server uses directly TCP.
To configure the server to listen on specific protocols, use SQL Server configuration Manager. To configure the client allowed protocols, see Configuring Client Network Protocols.
It is better to disable Net Pipes and rely solely on TCP (1433), for reasons of performance and easy of deployment/configuration.
445 is used to communicate using named pipes over TCP (as described here), 1433 is used to communicate directly over TCP.
INF: TCP Ports Needed for Communication to SQL Server Through a Firewall
精彩评论