Accessing a database on a VPN
问题 My Rails 3.2 app connects to a number of external servers, one of which is an SQL Server database (I connect to it using ActiveRecord + tinytds). Today, the database host decided to make it necessary to be on their VPN to access the database. My connections are now failing. How can I connect my Rails app (or just the connection to this database) to a VPN, so that I can access this database? My app is hosted on Heroku. 回答1: Short answer: you can't. You're going to have to switch hosts. Longer