Answer the question
In order to leave comments, you need to log in
Why can't Insomnia send API requests when running a docker container under WSL 2?
Please tell me about this issue: I use Windows 10 and run docker containers inside WSL 2. Without unnecessary manipulations, Postman can send requests to this kind of local domains my.project.localhost, but when I send requests through Insomnia, I get a response " Error: Couldn't connect to server".
If I run Docker Desktop under Windows 10, then requests are sent through Insomnia as well.
What needs to be done so that various kinds of software can access projects that are locally run as docker containers from under WSL 2?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question