[英]How can I set a remote computer as the target for MSSQL Server 2008 R2's Copy Database task?
The target database is located on a LAN with a local IP. 目标数据库位于具有本地IP的LAN上。 The local IPs are distributed by my modem's DHCP server and is something like 192.168.1.xxx.
本地IP由我的调制解调器的DHCP服务器分发,类似于192.168.1.xxx。 I've already redirected port 1433 to the machine which holds the sql server (192.168.1.xxx) and I can reach to it with a SQL Management Studio connection, using my WAN IP from the source machine.
我已经将端口1433重定向到装有sql服务器(192.168.1.xxx)的计算机,并且可以使用源计算机上的WAN IP通过SQL Management Studio连接到达它。 However, when I write my WAN IP as the Copy Database task's target, it returns an error which indicates that connection cannot be established.
但是,当我将WAN IP编写为“复制数据库”任务的目标时,它将返回错误,表明无法建立连接。
Might I be missing the writing convention for the target? 我可能会缺少目标的书写约定吗? I tried the following (my WAN IP is 78.187.xxx.xxx and my target MSSQL Server's name is EXP32):
我尝试了以下操作(我的WAN IP为78.187.xxx.xxx,目标MSSQL Server的名称为EXP32):
78.187.xxx.xxx
78.187.xxx.xxx\EXP32
\\78.187.xxx.xxx
\\78.187.xxx.xxx\EXP32
GO TO 去
-> SQL server configuration manager
-> On network configuration -> protocol for mssqlserver -> enable except VIA
-> go to component services and on services restart sqlserver and express if you have
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.