It probably does, but bind_address is what TCP/IP interface to listen on. In a similar vein, Apache doesn't let you Listen on host names, because you're listening on a TCP/IP interface, not a domain name. And domain name address records can map to different IPs based on where the request originated. Maybe that IP isn't a valid interface in the server even.
I agree that there should be an error if it can't bind to the address provided though. On Jul 10, 2012 3:26 PM, "Andrew Melo" <[email protected]> wrote: > On Tue, Jul 10, 2012 at 3:19 PM, Dave Cottlehuber <[email protected]> > wrote: > > On 10 July 2012 21:47, Andrew Melo <[email protected]> wrote: > >> Hey, > >> > >> Is it a known issue/planned feature to enable couch to accept a > >> hostname for bind_address? Currently putting a hostname instead of an > >> ip address causes couch to bomb in a weird way where the process is > >> still alive, but the TCP port isn't bound, which is somewhat > >> frustrating. > >> > >> Thanks, > >> Andrew > > > > I don't think DNS is a dependency CouchDB should accept. On the other > hand, > > an error message would be desirable. Do you want to log a JIRA ticket > > for that? > > Sure, I'll file a JIRA for it. Though does erlang not provide an > interface for gethostbynamel()? > > Thanks, > Andrew > > > > > A+ > > Dave > > > > -- > -- > Andrew Melo >
