Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Run rails app on IP instead of port.
Hello, I deployed my rails app on my droplet using this tutorial: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-git-hooks-on-ubuntu-14-04 -> with git hooks, puma and nginx.
But when my app is running I can only access it using http://my_ip_address:3000, when 3000 is app’s localhost port.
How to configure app in order to get it under http://my_ip_address?
Thank you in advance for your help.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×