playframework/play — pull request #464 by bplawler (2012-02-18 09:06:58+00:00)
Title: Small fix to the DBPlugin for non-localhost development...

For situations where you are not developing on localhost (e.g. play is runnign on a local VM that you are accessing from your host machine) detect that a request for @db has come in from a host other than localhost and start up the h2 database with the correct options to allow a connection from a different machine, then redirect to the correct domain.

I ran into this situation while running my Play instance in an Ubuntu VM on my Mac. The fix is pretty insignificant and only affects applications running in dev mode.