1. 首先保证 应用服务器和数据库服务器能够互相ping通
可以创建一个 bat 文件里面放上如下内容进行连接.
start ping fe80::b0d4:136:2609:f3c5 -t start ping fe80::16b:b909:95ca:34a6 -t
2. 确认能够ping通之后 使用DBconfig进行注册
SQLSERVER:
注意与客户端一样 需要增加 中括号 来括起来 local link 的地址.
然后注册本机地址即可.
oracle 数据库一样 也是需要IP 地址加括号
然后注册即可
3. 刚才有一个注意事项:
SQLSERVER数据库必须启用1433 端口 对主机所有IP地址才可以.
配置管理器里面可以看到
关了IPALL 可能就无法使用了.
Oracle数据库能连接 是因为 使用了机器为作为hostname
如果使用ipv4的地址的话 是无法注册上的.
4. 然后查看一下配置文件 会发现都应有了变化
5. 但是这里发现一个问题. 不知道IPV6下面的 类比IPV4的ARP协议. ping 主机名 ping不通.
如图示
这就会造成 微软的MSDTC服务出现故障 无法使用
这一块还没有解决. 需要搞人解答.