dubbo calls the external network interface to register the external network ip to zookeeper to expose the external network ip

When dubbo is registered, it will find the ip through the host name, and will register the intranet ip to zookeeper

If we call the external network server server, it cannot be found

The following error will be reported

[DUBBO] client reconnect to 127.0.0.1:20880 find error . url: dubbo://127.0.0.1:20880/xxxxxxxxxx

Solution: Modify the host and put the host name after the external network ip

From Dubbo Admin, you can see that the registered service ip is already an external network ip

Can be called to the external network interface, perfect solution

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325482141&siteId=291194637