How to find SQL Server running port?

后端 未结 13 731
再見小時候
再見小時候 2020-11-28 20:10

Yes I read this How to find the port for MS SQL Server 2008?

no luck.

telnet 1433

returns connection failed, so I must s

13条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-28 20:30

    very simple. make a note of the sqlsrvr.exe PID from taskmanager then run this command:

    netstat -ano | findstr *PID*
    

    it will show TCP and UDP connections of your SQL server (including ports) standard is 1433 for TCP and 1434 for UDP

    example : enter image description here

提交回复
热议问题