From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/vagrant/cli%2Fport.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 devdocs/vagrant/cli%2Fport.html (limited to 'devdocs/vagrant/cli%2Fport.html') diff --git a/devdocs/vagrant/cli%2Fport.html b/devdocs/vagrant/cli%2Fport.html new file mode 100644 index 00000000..86afbecc --- /dev/null +++ b/devdocs/vagrant/cli%2Fport.html @@ -0,0 +1,16 @@ +

Port

Command: vagrant port [name|id]

The port command displays the full list of guest ports mapped to the host machine ports:

$ vagrant port
+    22 (guest) => 2222 (host)
+    80 (guest) => 8080 (host)
+
+

In a multi-machine Vagrantfile, the name of the machine must be specified:

$ vagrant port my-machine
+
+

Options

+

+ © 2010–2018 Mitchell Hashimoto
Licensed under the MPL 2.0 License.
+ https://www.vagrantup.com/docs/cli/port.html +

+
-- cgit v1.2.3