Localhost connection refused

The app is running. I can access it if I get the IP address and use that.
Says now listening on http://[::]:80 when I start the container. That tells me it’s listening on port 80 in the container and then I’m mapping that port to 5000 on the host.

I also have:
networks:
- auth-net

networks:
auth-net:
external:
name: nat

I’m running Windows 10 Pro Build 17123.rs4. It’s my understanding that localhost should now be working in the latest builds of Windows 10 and localhost isn’t working. I’m able to access the site using the ip:5000. Can anyone offer any help understanding what’s wrong?