I have built a small asp.net application and built using docker. Now when I try running it it says the following output
Now listening on http://[::]:80
but firefox saying connection refused for http://localhost
Please help…
Share and learn in the Docker community.
I have built a small asp.net application and built using docker. Now when I try running it it says the following output
Now listening on http://[::]:80
but firefox saying connection refused for http://localhost
Please help…
you must connect the container port to the host port
add -p 80:80 to the docker run command
note the parms are -p host_port:container_port