Accessing a container's IP from a Windows 10 (Surface Pro 4) machine

When trying to expose a port, I found that I had to run it like this:

docker run -p 5672:5672 --name myRabbitMQ rabbitmq