mikebai.com

  • Home
  • dev
  • DotNET
  • M365
  • 搞笑
  • 杂七杂八
  • FocusDict
個人BLOG
it developer
  1. Main page
  2. dev
  3. Main content

防火墙开启SQL Server端口

2019-07-22 132hotness 0likes 0comments

SQL Server服务默认端口是1433,AlwaysOn、Mirror等HA技术中用到5022端口,下面将图示说明开启1433和5022的步骤:

  1. 打开Windows Filewall with Advanced Security,点击’New Rule‘新建Inbound Rules
  2. 指定端口1433,5022 (TCP  1433, 4022, 135, 1434, UDP 1434.)
  3. 下一步
  4. 下一步
  5. 指定名称,然后点击'Finish'

 

To open the Windows Firewall item

1.On the Start menu, click Run, and then enter firewall.cpl.

2.Click OK

To add a program exception to the firewall using the Windows Firewall item in Control Panel.

1.On the Exceptions tab of the Windows Firewall item in Control Panel, click Add a program.

2.Browse to the location of the instance of SQL Server that you want to allow through the firewall, for example C:\Program Files\Microsoft SQL Server\MSSQL10_50.<instance_name>\MSSQL\Binn, select sqlservr.exe, and then click Open.

C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\sqlservr.exe

3.Click OK.

Tag: Nothing
Last updated:2019-07-22

mikebai

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

COPYRIGHT © 2025 mikebai.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang