Localhost instead IP allocated for container

Hello,
I installed docker on windows 10, and when I create container, the access URL always localhost:PORT instead of IP:PORT. When using docker toolkit in windows 7 it was IP address. How can I change this behavior please?

You can use 127.0.0.1. Why is localhost not good?

Thanks for response Michael,

localhost limiting access from local machine only. If I would have service
such as mysql and I would like to access it from remote machine, how would
I do that?
I see that IP of docker host machine is not resolving to the port that is
allocated by docker.

Thanks