Update default.rb

Add support for non-localhost databases