LinuxCommandLibrary

vagrant-port

Display Vagrant VM port forwarding mappings

TLDR

Show port mappings

$ vagrant port
copy
Show for specific VM
$ vagrant port [name]
copy

SYNOPSIS

vagrant port [options] [name]

DESCRIPTION

vagrant port displays guest to host port mappings. Shows forwarded ports configured for the VM. Useful for finding the host port to access services in the guest.

PARAMETERS

--guest port

Show mapping for specific guest port.
--machine-readable
Machine-readable output.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community