qq54903099 commented on issue #5057:
URL: https://github.com/apache/apisix/issues/5057#issuecomment-919774910


   > try change `"192.168.20.20"` to `"127.0.0.1"`
   like this?
   
   ```java
   curl http://127.0.0.1:9080/apisix/admin/stream_routes/1 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "remote_addr": "127.0.0.1",
      
       "upstream": {
           "nodes": {
               "127.0.0.1:1995": 1
           },
           "type": "roundrobin"
       }
   }'
   ```
   
   but i install apisix use docker.  upstream use 127.0.0.1 can't connect.


-- 
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