/plushcap/analysis/vonage/vonage-using-ngrok-in-rails-in-2022

Using ngrok in Rails in 2023

What's this blog post about?

ngrok is a tool that creates tunnels, connecting local codebases with public sites without configuration. It's useful for developers who need to share their projects with others or test webhooks in APIs. The tool is free for non-commercial use but requires a paid account for commercial use. Installing ngrok involves installing the agent, creating an account, and connecting it to the account. For Ruby on Rails development, adding ngrok requires modifying the `config/environments/development.rb` file. Common mistakes include leaving HTTPS in the config.hosts, forgetting to restart the rails server after updating the config.hosts, or adding the config.hosts outside of the `Rails.application.configure do` block.

Company
Vonage

Date published
Aug. 24, 2023

Author(s)
Benjamin Aronov

Word count
675

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.