Hi Support
I am following link : Getting Started With Tyk On Your Local Machine - Tyk API Gateway to setup tyk in my local machine using Docker compose.
The installation is ok , however when i tried to access the “nodeJS” api , have error below when test by “Debugging” tab in “APIs” menu. Please advise. Thanks
http: proxy error: dial tcp: lookup apigee-nodejs on 127.0.0.11:53: server misbehaving
MIDDLEWARE: ReverseProxy
MESSAGE: http: proxy error: dial tcp: lookup apigee-nodejs on 127.0.0.11:53: server misbehaving
Response
====== Request ======
GET /url HTTP/1.1
====== Response ======
HTTP/1.1 500 Internal Server Error
Assuming that you’re running the apogee-nodejs in a docker container @ps258_tyk would be absolutely correct and that would explain the error you’re getting. The issue is caused by Tyk not being able to reach your server.
To access the apogee-nodejs container from your Tyk container you will need to use host.docker.internal instead of 127.0.0.1.