Skip to content

Instantly share code, notes, and snippets.

@nburkley
Created September 5, 2016 12:38
Show Gist options
  • Save nburkley/2e202645dc93f4f0077c788f63f71dae to your computer and use it in GitHub Desktop.
Save nburkley/2e202645dc93f4f0077c788f63f71dae to your computer and use it in GitHub Desktop.
Start puma rails server binding to a host and port
# binding to localhost
rails s -b 127.0.0.1 -p 3000
# bind to lvh.me
rails s -b lvh.me -p 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment