Garden12138 commented on issue #4667: URL: https://github.com/apache/apisix/issues/4667#issuecomment-897598816
I guess the service proxied by the upstream service runs on the host, apisix runs in the container and uses bridge mode. The configuration of localhost for the apisix upstream service will cause the bridge (172.18.0.1) to connect to 127.0.0.1 timeout. The solution is to set'localhost' Change to'host.docker.internal'... <img width="927" alt="图片" src="https://user-images.githubusercontent.com/23191862/129196668-1b74a3f7-b935-4ce8-a331-56c5ddf37ec8.png"> <img width="393" alt="图片" src="https://user-images.githubusercontent.com/23191862/129196739-d6a2b128-cbae-4149-8261-bb8a1b91a144.png"> <img width="1279" alt="图片" src="https://user-images.githubusercontent.com/23191862/129196750-dfcd99b7-e0fb-4302-b925-16953d658f7f.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]
