Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Kong inside docker container on localhost can't find API also on localhost #2149
I'm running an Apache server on localhost and I also set up Kong inside a docker container on localhost. My server has a simple endpoint at
I've added it to Kong and this is what it looks like:
However, I'm getting a 502 error when I try to access it through Kong:
Note: If I use my IP address instead of
Steps To Reproduce
Additional Details & Logs
I apologize, I can't find all of these because I'm using docker and I can't run the commands. Any tips would be appreciated!
Assuming the commands shown are ran from the host.
What you have to do is to get your host's IP address with
I mentioned that I have tried that and I get a 301 error.
Here is the API after changing the
And here is what happens when I try to call it.
Is my setup wrong?