nareshnagamalle commented on issue #7844: URL: https://github.com/apache/apisix/issues/7844#issuecomment-1235215578
We tried above things, it is not working. Even I am unable to connect localhost upstream and not getting what to do? When I am seeing access log in **"/usr/local/apisix/logs"** 127.0.0.1 - - [01/Sep/2022:16:44:47 +0530] 127.0.0.1 "GET /index.html HTTP/1.1" 504 164 60.270 "-" "curl/7.29.0" **3.94.154.124:80** 504 60.000 "http://127.0.0.1" **I don't know from where this IP is coming????** **I have used below command to create route for local upstream** curl "http://127.0.0.1:9080/apisix/admin/routes/1" -H "X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d ' { "methods": ["GET"], "host": "127.0.0.1", "uri": "/*", "upstream": { "type": "roundrobin", "nodes": { "127.0.0.1:80": 1 } } }' All helps are appreciated. -- 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]
