summaryrefslogtreecommitdiff
path: root/devdocs/vagrant/cli%2Fport.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-08-14 22:58:58 -0500
committerCraig Jennings <c@cjennings.net>2025-08-14 22:58:58 -0500
commit82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch)
tree158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/vagrant/cli%2Fport.html
parent9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff)
downloaddotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz
dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/vagrant/cli%2Fport.html')
-rw-r--r--devdocs/vagrant/cli%2Fport.html16
1 files changed, 0 insertions, 16 deletions
diff --git a/devdocs/vagrant/cli%2Fport.html b/devdocs/vagrant/cli%2Fport.html
deleted file mode 100644
index 86afbecc..00000000
--- a/devdocs/vagrant/cli%2Fport.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<h1 id="port"> Port </h1> <p><strong>Command: <code>vagrant port [name|id]</code></strong></p> <p>The port command displays the full list of guest ports mapped to the host machine ports:</p> <div class="highlight"><pre class="highlight plaintext">$ vagrant port
- 22 (guest) =&gt; 2222 (host)
- 80 (guest) =&gt; 8080 (host)
-</pre></div>
-<p>In a multi-machine Vagrantfile, the name of the machine must be specified:</p> <div class="highlight"><pre class="highlight plaintext">$ vagrant port my-machine
-</pre></div>
-<h2 id="options"> Options </h2> <ul> <li>
-<p><a href="#guest-port"><code>--guest PORT</code></a> - This displays just the host port that corresponds to the given guest port. If the guest is not forwarding that port, an error is returned. This is useful for quick scripting, for example:</p> <div class="highlight"><pre class="highlight plaintext">$ ssh -p $(vagrant port --guest 22)
-</pre></div>
-</li> <li>
-<p><a href="#machine-readable"><code>--machine-readable</code></a> - This tells Vagrant to display machine-readable output instead of the human-friendly output. More information is available in the <a href="machine-readable">machine-readable output</a> documentation.</p> </li> </ul><div class="_attribution">
- <p class="_attribution-p">
- &copy; 2010&ndash;2018 Mitchell Hashimoto<br>Licensed under the MPL 2.0 License.<br>
- <a href="https://www.vagrantup.com/docs/cli/port.html" class="_attribution-link">https://www.vagrantup.com/docs/cli/port.html</a>
- </p>
-</div>