【问题标题】:SQL Server 2008 Express on Windows 7 - Firewall issueWindows 7 上的 SQL Server 2008 Express - 防火墙问题
【发布时间】:2014-07-04 04:17:18
【问题描述】:

我完全陷入困境,希望有人能提供帮助。

我在 Windows 7 pro 计算机上安装了 SQL Server 2008 Express 的新副本,并创建了 2 个实例:开发和测试。

只有在关闭 SQL Server Windows 防火墙、打开客户端防火墙时,我才能从远程客户端通过 SQL Server Management Studio (SSMS) 连接到实例。

我检查以确保 sql server 防火墙和客户端防火墙具有相同的规则。

我已设置规则以允许 TCP 和 UDP 在本地端口 1433 和 1434、远程端口 - 任意、入站和出站、服务器和客户端 pc 上。

我受够了,我启用并允许所有被禁用的东西。但是还是不行。

我真的不知道它会是什么,所以任何帮助都会非常感激。

非常感谢

伊恩

【问题讨论】:

    标签: sql-server-2008 windows-firewall


    【解决方案1】:

    终于找到解决办法了..

    1. Open SQL Server Configuration Manager
    
    2. Select SQL Server Network Configuration
    
    3. Select Protocols for [named instance]
    
    4. Select IP Addresses tab
    
    5. For each IP in the list, delete 0 from TCP Dynamic Ports and enter 7201 in TCP Port field below
    
    6. One IP entry will have an IP address for the SQL Server - set this to Enabled and Active
    
    7. Click Ok
    
    8. Repeat steps 3 to 7 for another instance using port 7202
    
    9. Open Firewall from Windows Control Panel
    
    10. Advanced Settings
    
    11. Add Inbound Rules based on Port:
    
        > Name 'My Instance SQL Server', TCP, port 7201
        > Name 'My Other Instance SQL Server', TCP, port 
        > 'Native SQL Server', TCP, port 1433
        > 'SQL Server', UDP, port 1434
    
    12. Restart services
    
    13. Ensure SQL Server Browser service is started
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-21
      相关资源
      最近更新 更多