Benjamin Atkin

web developer

Main menu

Skip to content
  • Home
  • About

Tag: ssh

Post navigation

Temporarily forwarding a port on Vagrant

Posted on September 17, 2018
by Benjamin Atkin

Sometimes when starting a new project it’s useful to set up a temporary port on vagrant, so a new port can be accessed without running vagrant reload. vagrant ssh can be used for port forwarding. To forward a port, run:

vagrant ssh -- -L 3001:localhost:3000

This will forward port 3001 on the host to port 3000 on the guest.

Posted in uncategorized | Tagged command line, ssh, vagrant | Leave a comment

Post navigation

Projects

  • anigram
  • console
  • notebook
  • parafocus
  • tree view & vega

My Data

  • running log

Tags

api blogs code communities design doge editors emacs firefox food fromwhereirun github goals grem heroku ideas javascript jQuery jschain json learning micropost node.js open source pontifications productivity programming python quotes rails react ruby sanfrancisco sanfranciscobay sfbayarea social media software startups travel twitter video vim web development wordpress workspace

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Elsewhere

  • 43 things
  • codepen
  • facebook
  • github
  • google+
  • hacker news
  • indiewebcamp
  • LinkedIn
  • mastodon
  • pinboard
  • Pinterest
  • plurk
  • Stack Overflow
  • twitter
  • yo
This site is powered by WordPress and styled with SemPress