如何连接到 Intranet 上同一工作组上的 sql server 2008 (R2)

发布于 2024-12-13 02:01:46 字数 1459 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

孤独患者 2024-12-20 02:01:46

这是命名实例吗?如果是这样,您需要确保端口 1434(SQL Server Browser 的默认端口)已打开并正在侦听。

此外,如果它是命名实例,您需要确保已启动 SQL Server Browser 服务。您可以通过 SQL Server 配置管理器来执行此操作。

Is this a named instance? If so, you need to ensure port 1434 (the default port for SQL Server Browser) is open and listening.

Also, if it is a named instance, you need to ensure that you have the SQL Server Browser service started. You can do this through the SQL Server Configuration Manager.

温暖的光 2024-12-20 02:01:46

您是否尝试过完全关闭服务器中的 Windows 防火墙?

我发现 Windows 7 防火墙 UI 与 XP 相比相当混乱,有时我更幸运的是完全关闭它并尝试连接以检查问题是否出在哪里。

事实上,尝试在 pc1 和 pc2 机器上将其关闭。

关闭 Windows 防火墙

Have you tried turning off windows firewall in your server box altogether?

I find windows 7 firewall UI pretty confusing compared to XP, sometimes I have more luck just turning it off altogether and attempting a connection to check if that is where the problem is.

In fact, try turning it off on both pc1 and pc2 machines.

Turning off windows firewall

眼趣 2024-12-20 02:01:46

好吧,不知何故,在我的问题中的所有项目符号列表

在sql管理工作室中

  • 都是正确的之后,以下事情就在不进行任何其他更改的情况下工作了

    服务器名称:(pc2的IP地址)有效,不需要括号

    OR

  • 服务器名称:(pc2 的计算机名称)有效,无需括号

这两个都不起作用

  • (pc2 的 IP 地址)/(sql server 实例的名称)
  • (计算机名pc2)/(sql 实例的名称)

其他答案

我的 pc2 是否需要仅以管理员身份登录才能连接 pc1?

或者非管理员用户可以在 pc2 上工作而我仍然可以使用 pc1 进行连接吗?

只要 SQL SERVER 服务已打开,就可以在没有任何人登录的情况下简单地打开 pc2

well somehow following thing worked without making any other changes after all bulleted list in my question is true

in sql management studio use

  • server name: (IP address of pc2) works , no need to have parenthesis

    OR

  • server name: (COMPUTERNAME of pc2) works , no need to have parenthesis

BOTH OF THESE DO NOT WORK

  • (IPaddress of pc2)/(name of sql server instance)
  • (COMPUTERNAME of pc2)/(name of sql instance)

other answers

Does my pc2 needs to be logged in as administrator only in order for pc1 to connect?
NO

Or Can a non admin user work on pc2 and I can still connect using pc1? YES

pc2 can be be simply turned on without anybody logged in provided the SQL SERVER service is turned on

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文