The port command

The port command returns port-mapping from the guest machine to the Vagrant environment.