无法连接sqlserver remotelly [英] unable to connect sqlserver remotelly

查看:116
本文介绍了无法连接sqlserver remotelly的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将我的笔记本电脑连接到另一台以便访问sql remotelly,但我在连接时遇到以下错误: -



i am connecting my laptop to another in order to access the sql remotelly, but i face the following error while connecting :-

TITLE: Connect to Server
------------------------------

Cannot connect to 172.16.1.81,1234.

------------------------------
ADDITIONAL INFORMATION:

A network-related or instance-specific error occurred while establishing a connection to 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. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)

推荐答案

如错误所述,您的应用程序无法与服务器通信。由于您使用了直接IP地址,我会检查以下内容:

- 端口1234是否正确?这不是默认端口(1433)所以它已经过验证了吗?

- 两者之间是否有防火墙?特别是因为使用了非标准端口,需要在防火墙中打开(如果有的话)

- SQL Server服务正常运行?

- 正确的IP地址? (如果您尝试 ping
As the error states, your application cannot communicate with the server. Since you have used a direct IP address I would check the following things:
- is the port 1234 correct? It''s not the default port (1433) so it''s verified?
- is there a firewall in between? Especially since non-standard port is used, it needs to be opened in the firewall (if present)
- SQL Server service up and running properly?
- correct IP address? (what happens if you try ping


添加/检查防火墙策略已打开端口1433(默认)或特定端口根据您的sql server listner port ..

看看这个: http://msdn.microsoft.com/en-us/library/ms190608%28v=SQL.100%29.aspx [ ^ ]
Add/Check Firewall policy is open for port 1433(Default) or specific port according to your sql server listner port..
look at this : http://msdn.microsoft.com/en-us/library/ms190608%28v=SQL.100%29.aspx[^]


这篇关于无法连接sqlserver remotelly的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆