Also, I would recommend to remove the default value of "localhost" for the "host" method, as it is typically not what we will want. The host has to be overriden with a value such as override def host = "10.0.0.1". The "localhost" will work well in development, but as soon as we deploy to a different box, it won't work because if the server binds to localhost, it will only reply to queries made on 127.0.0.1.
I would suggest to document the JVM defines that are required when we want the server to bind only on IPV4 addresses:
Also, I would recommend to remove the default value of "localhost" for the "host" method, as it is typically not what we will want. The host has to be overriden with a value such as override def host = "10.0.0.1". The "localhost" will work well in development, but as soon as we deploy to a different box, it won't work because if the server binds to localhost, it will only reply to queries made on 127.0.0.1.
Thank you.