How to serve web server on local IP address using "Docker for Windows"?

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