My Windows have a container running a project. That call an API like fake-server.com/api/data
Dockerfile
EXPOSE 3000
That API install in apache server localhost on my windows (not container) like
# hosts file
127.0.0.1 fake-server.com
But it get an error like
connect ECONNREFUSED 127.0.0.1:80
I run docker by
docker run -it -p 8080:3000 myproject
How to fix that thanks.