79775765

Date: 2025-09-26 10:23:50
Score: 1
Natty:
Report link

I think this is a classic docker mistake. a localhost url inside an container references the localhost of the container, not of your machine.

so instead of filling your ${process.env.NEXT_PUBLIC_API_BASE_URL} with "localhost" it should be
"host.docker.internal" which references to the localhost of the machine thats currently running docker.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Rick