This topic has been archived. It cannot be replied.
-
工作学习 / 学科技术讨论 / webserver 与内网sql server连接问题有一台老的web server, Win2K.放在DMZ里,sql数据库在内网的一个服务器上,中间有一道防火墙由第三方w提供服务,webserver可以连接sql,工作正常。
现在新装一台Win2K3, 想要取代老的webserver。新机器先放在内网,工作正常,可以连接到sql服务器,但是在测试时,将旧的webserver的地址分配给新的server后,将其放在DMZ中,却无法连接数据库了?
请教!!
-expiator(winter);
2008-11-19
{330}
(#4857274@0)
-
把几台机器的ipconfig的详细信息,以及web server 到 sql server 的ODBC connection贴上来再说。
-bdbs(别的不算);
2008-11-19
(#4857322@0)
-
thanks, detais insideDmz:old web server 10.2.22.10 subnet 255.255.255.0 GW 10.2.22.1
Internal subnet IP 10.2.20.3--10.2.22.254 subnet 255.255.254.0 GW 10.2.20.2
SQL server 10.2.20.X , SQL ports open:1433
firewall open: port 1433,2433.
new web server assigned IP as 10.2.20.Y, it can access to SQL, but it doesn't work after reassigned IP as old server in DMZ
Confirm with firewall service provider, nothing changed
-expiator(winter);
2008-11-19
{408}
(#4857432@0)
-
试一下在Command mode: telnet 10.2.20.X 1433。另外,都在内网里,web server和sql server怎么不通过Private IP连?尤其是SQL Server,不应该有public IP暴露在外面。
-bdbs(别的不算);
2008-11-19
(#4857535@0)
-
我用netstat -a 在sql server上查了,没有1433port 开着,那我的old web sever 是怎莫连的呢,不明白。
将 new web server 放在内网时,是可以连接sql server 的呀
-expiator(winter);
2008-11-19
(#4857801@0)
-
可能是namepipe,而不是tcp/ip
-bdbs(别的不算);
2008-11-20
(#4857824@0)
-
Done, firewall issue, paritcular ports are opened, thanks anyway.
-expiator(winter);
2008-11-22
(#4864268@0)