Start NettyClient /172.20.11.52 connect to the server /172.20.11.52:20881, dubbo version: 2.5.3, current host: 172.20.11.52
[root@application3 conf]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.20.10.7 application2
172.20.10.8 application3
[root@application3 conf]# host
host hostid hostname
[root@application3 conf]# hostname -f
application3
[root@application3 conf]#
添加
172.20.10.7 application2
172.20.10.8 application3
内网服务注册在zookeeper时,以内网ip注册。