When using Docker, localhost in the container points to the container itself, not your host machine. In your case changing http://localhost:8088 to http://host.docker.internal:8088 lets the container access services on your host’s localhost, which fixes the connection issue.