Search code examples
ruby-on-railslinuxvpswebrick

How to access Rails WEBrick running on a VPS


I'm fairly new to Rails and VPS. I created a SSH tunnel and managed to install Ruby/Rails, then I created a simple scaffolding app to play around. One question now coming up is, how I can access the running WEBrick server via my browser? I tried the IP of my VPS and added XXX.XXX.XXX.XX:3000 as the port. But for some reason it does not work. Any idea? Thanks


Solution

  • Try port 80 as 3000 can be quite sensitive to firewalls and certain ISP's