siaron commented on issue #5233:
URL: https://github.com/apache/apisix/issues/5233#issuecomment-943065196


   > ### Issue description
   > 从nacos上发现服务.
   > 
   > * nacos上的服务ip为主机名`uaa-service`, 一个为ip
   > * 当负载均衡运行时报 `failed to set server peer [uaa-service:20101] err: no host 
allowed while connecting to upstream`
   > 
   > ### Environment
   > * apisix version (cmd: `apisix version`):
   > * OS (cmd: `uname -a`):
   > * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   > * etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   > * apisix-dashboard version, if have:
   > * the plugin runner version, if the issue is about a plugin runner (cmd: 
depended on the kind of runner):
   > * luarocks version, if the issue is about installation (cmd: `luarocks 
--version`):
   
   
![image](https://user-images.githubusercontent.com/13701232/137266499-8e8e5a07-7d1f-44b3-96b9-f262289f8d87.png)
   这里如果是主机名是没有问题的. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to