I run the following, container starts
docker run -d -p 8082:80 webapi
but when i hit localhost doesn’t work
http://localhost:8082/api/customers/000000
if i hit containers ip everything works just fine
http://172.25.159.78/api/customers/000000
Share and learn in the Docker community.
I run the following, container starts
docker run -d -p 8082:80 webapi
but when i hit localhost doesn’t work
http://localhost:8082/api/customers/000000
if i hit containers ip everything works just fine
http://172.25.159.78/api/customers/000000