codahale/dropwizard — pull request #255 by JonMR (2013-02-02 01:01:47+00:00)
Title: adminPort doesn't listen on bindHost

When I have a different port and adminPort specified, the port will bind to bindHost, but adminPort still binds to all addresses.

The problem seems to be in ServerFactory.java. The createInternalConnector() does not set the host on the SocketConnector.

I was going to open a pull request, but wasn't sure if I should re-use bindHost for adminPort or create a new adminBindHost configuration parameter. I don't have a use case to bind to separate hosts per port, but it seems somewhat logical that others might.