打开SQL Server Configuration Manager->SQL Server Network Configuration, 选择实例->TCP/IP, IPAddresses, IPAll, 更改端口号。