由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - SQL Server跨域访问问题
相关主题
什么也不懂,要考个SQL Server 的证how to register SQL Server in intranet
A question on remote connection to sql serverAny SSIS high hand here?
SQL Server multiprotocoljournal for sql server
create linked server problem, please help请问Enterprise level experience
need help on installing 32bit SQL 2005 in Win7 64bit OSshutdown 200+ SQL SERVERS in 45 minutes
MS SQL EXPRESS能作DB server吗?SSRS需要开哪些端口?
SSIS package存放问题A question about Oracle
client如何看到SSRS生成的report想学Oracle,去哪里下载可以安装的oracle环境?
相关话题的讨论汇总
话题: server话题: sql话题: s1话题: s2话题: 访问
进入Database版参与讨论
1 (共1页)
c*******y
发帖数: 8
1
问题是这样的,我现在在域A有SQL Server S1,域B有SQL Server S2。S1和S2可以互相
ping通。S1可以访问S2的SQL Server,但是在S2就无法访问S1的SQL Server了。是否有
什么设置或者方法可以在S2访问S1的SQL Server呢(尝试过用同一用户在域A的任何机
器可以访问S1)?我想是不是域信任的原因导致的?
Error Message:
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.
拜谢
t*****s
发帖数: 124
2
错误信息很明白呀,The server was not found or was not accessible.
能互相ping通并不能说明server的1433端口也是打开了的
s1可以访问s2的sql server说明s2的1433端口是开着的
s2无法访问s1的sql server则说明s1的1433端口没有打开

【在 c*******y 的大作中提到】
: 问题是这样的,我现在在域A有SQL Server S1,域B有SQL Server S2。S1和S2可以互相
: ping通。S1可以访问S2的SQL Server,但是在S2就无法访问S1的SQL Server了。是否有
: 什么设置或者方法可以在S2访问S1的SQL Server呢(尝试过用同一用户在域A的任何机
: 器可以访问S1)?我想是不是域信任的原因导致的?
: Error Message:
: 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.
: 拜谢

c*******y
发帖数: 8
3
不应该是1433端口没有打开吧
因为S1的SQL Server是可以被本域内的所有机器可以访问的,如果端口没开肯定访问不
到吧
我唯一觉得是域的信任问题,也就是如果Domain A信任 Domain B,那么A里面的Sql
Server可以被来自B的机器访问,如果Domain B不信任Domain A,那么来自A的机器是不能
访问B的Server的.
现在要做两个域里面数据库的数据同步,头疼得很.

【在 t*****s 的大作中提到】
: 错误信息很明白呀,The server was not found or was not accessible.
: 能互相ping通并不能说明server的1433端口也是打开了的
: s1可以访问s2的sql server说明s2的1433端口是开着的
: s2无法访问s1的sql server则说明s1的1433端口没有打开

a9
发帖数: 21638
4
你在b上telnet a的1433试试啊。
还有就是用ip telnet,你用的是机器名还是IP地址?

【在 c*******y 的大作中提到】
: 不应该是1433端口没有打开吧
: 因为S1的SQL Server是可以被本域内的所有机器可以访问的,如果端口没开肯定访问不
: 到吧
: 我唯一觉得是域的信任问题,也就是如果Domain A信任 Domain B,那么A里面的Sql
: Server可以被来自B的机器访问,如果Domain B不信任Domain A,那么来自A的机器是不能
: 访问B的Server的.
: 现在要做两个域里面数据库的数据同步,头疼得很.

i****a
发帖数: 36252
5
your other connections may not be using TCP/IP as connection
or
your firewall setting

【在 c*******y 的大作中提到】
: 不应该是1433端口没有打开吧
: 因为S1的SQL Server是可以被本域内的所有机器可以访问的,如果端口没开肯定访问不
: 到吧
: 我唯一觉得是域的信任问题,也就是如果Domain A信任 Domain B,那么A里面的Sql
: Server可以被来自B的机器访问,如果Domain B不信任Domain A,那么来自A的机器是不能
: 访问B的Server的.
: 现在要做两个域里面数据库的数据同步,头疼得很.

c*******y
发帖数: 8
6
I'm sure that all the connection are TCP/IP. I guess the main reason is
Domain trust, but i don't know much about this...

【在 i****a 的大作中提到】
: your other connections may not be using TCP/IP as connection
: or
: your firewall setting

i****a
发帖数: 36252
7
on your local connections, try xxx.xxx.xxx.xxx,1433 (or whatever port your
server is listening to.)
or try the telnet method mentioned above.

【在 c*******y 的大作中提到】
: I'm sure that all the connection are TCP/IP. I guess the main reason is
: Domain trust, but i don't know much about this...

a9
发帖数: 21638
8
你还真是一根筋啊。
那你就先去学学domain,让他们互相信任吧。

【在 c*******y 的大作中提到】
: I'm sure that all the connection are TCP/IP. I guess the main reason is
: Domain trust, but i don't know much about this...

i****a
发帖数: 36252
9
one easy way to try is use SQL login. domain trust is only for pass-
through authentication for windows login, right?

【在 a9 的大作中提到】
: 你还真是一根筋啊。
: 那你就先去学学domain,让他们互相信任吧。

a9
发帖数: 21638
10
I think so.所以我才让他telnet一下。
再说了,就算不用域验证,用sqlserver用户登录总登的上吧。
我怀疑是不在一个域里,可能ip段不一样,这样的话防火墙配置有可能需要修改。

【在 i****a 的大作中提到】
: one easy way to try is use SQL login. domain trust is only for pass-
: through authentication for windows login, right?

c*******y
发帖数: 8
11
国内上来一趟真麻烦。。。
批评的是,接受~~
telnet了,跨域不能telnet1433,同域内可以
但是我没看到防火墙有哪些地方限制了IP地址段?
bow~~

【在 a9 的大作中提到】
: I think so.所以我才让他telnet一下。
: 再说了,就算不用域验证,用sqlserver用户登录总登的上吧。
: 我怀疑是不在一个域里,可能ip段不一样,这样的话防火墙配置有可能需要修改。

i****a
发帖数: 36252
12
is your sql server configured to listen to 1433? is tcp/ip even enabled?

【在 c*******y 的大作中提到】
: 国内上来一趟真麻烦。。。
: 批评的是,接受~~
: telnet了,跨域不能telnet1433,同域内可以
: 但是我没看到防火墙有哪些地方限制了IP地址段?
: bow~~

c*******y
发帖数: 8
13
Yes, i'm sure.

【在 i****a 的大作中提到】
: is your sql server configured to listen to 1433? is tcp/ip even enabled?
a9
发帖数: 21638
14
把防火墙禁用试试啊。

【在 c*******y 的大作中提到】
: 国内上来一趟真麻烦。。。
: 批评的是,接受~~
: telnet了,跨域不能telnet1433,同域内可以
: 但是我没看到防火墙有哪些地方限制了IP地址段?
: bow~~

1 (共1页)
进入Database版参与讨论
相关主题
想学Oracle,去哪里下载可以安装的oracle环境?need help on installing 32bit SQL 2005 in Win7 64bit OS
Is that possible for Applet to access the Oracle?MS SQL EXPRESS能作DB server吗?
access Vs. SQLSSIS package存放问题
HELP! -- SQL and Oracleclient如何看到SSRS生成的report
什么也不懂,要考个SQL Server 的证how to register SQL Server in intranet
A question on remote connection to sql serverAny SSIS high hand here?
SQL Server multiprotocoljournal for sql server
create linked server problem, please help请问Enterprise level experience
相关话题的讨论汇总
话题: server话题: sql话题: s1话题: s2话题: 访问