commands.sh

vagrant port

all

List mappings between guest and host ports. See also: `vagrant`.

More info →

Examples (4)

List all port mappings of machine(s) running in the current directory

List mappings for a specific machine (if `Vagrantfile` is multi-machine)

vagrant port machine_name

Display info for a specific guest port

vagrant port --guest port_number

Display machine-readable output

vagrant port --machine-readable
made by @shridhargupta | data from tldr-pages