简体   繁体   English

使用SQL Server 2008 Management Studio无法连接到远程SQL Server

[英]Fail to connect to a remote SQL server with SQL Server 2008 Management Studio

I'm trying to connect to a remote database with SQL Server 2008 Management Studio. 我正在尝试使用SQL Server 2008 Management Studio连接到远程数据库。 I got the following error: 我收到以下错误:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. 建立与SQL Server的连接时发生与网络相关或特定于实例的错误。 The server was not found or was not accessible. 服务器未找到或无法访问。
Verify that the instance name is correct and that SQL Server is configured to allow remote connections. 验证实例名称正确,并且已将SQL Server配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Erreur : 53) (提供程序:命名管道提供程序,错误:40-无法打开与SQL Server的连接)(Microsoft SQL Server,Erreur:53)

在此处输入图片说明

I think that I have wrong with my config: 我认为我的配置有误:

在此处输入图片说明

Can someone help me please ? 有人能帮助我吗 ?

Steps to find out what the reason is: 找出原因的步骤:

  1. Does the SQL server allow remote connections? SQL Server是否允许远程连接? Main settings SQL Server 主要设置SQL Server
  2. Is TCP/IP enabled for client connections and listen on correct IP address / NIC? 是否为客户端连接启用了TCP / IP并侦听了正确的IP地址/ NIC?
  3. Does the firewall on the server allow incoming traffic for the SQL Server port (default 1433) 服务器上的防火墙是否允许SQL Server端口的传入流量(默认1433)

It is normally one of the 3 points above. 它通常是上述3分之一。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 连接到SQL Server Management Studio Express失败 - Connect to SQL Server Management Studio Express FAIL 无法从服务器资源管理器,SQL Server 2008 R2 Management Studio等连接到远程数据库 - Unable to connect to remote databases from server explorer, sql server 2008 r2 management studio and others 没有SQL Management Studio的远程SQL Server 2008的连接字符串 - Connection string for remote SQL server 2008 without SQL Management Studio 打开Management Studio时,SQL Server 2008自动连接到服务器 - SQL Server 2008 auto connect to server when opening Management Studio SQL Server管理Studio 2008 - sql server management studio 2008 无法使用Management Studio连接到SQL Server 2008 R2 - Cannot connect to SQL Server 2008 R2 with Management studio 无法使用Management Studio连接到SQL Server 2008 R2实例 - Unable to connect to SQL Server 2008 R2 instance with management studio 通过Management Studio Express 2005连接SQL Server 2008 - Connect SQL Server 2008 through Management Studio Express 2005 我可以在没有管理工作室的情况下连接远程sql server数据库吗 - Can I connect remote sql server database without management studio 使用 SQL Server Management Studio 远程连接到 docker 容器 - Using SQL Server Management Studio to remote connect to docker container
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM