[Backgroundrb-devel] Using the ip flag

Noah Horton
Wed, 12 Mar 2008 21:43:04 -0000

Wait - the default config used in all the examples has the backgroundrb workers
listening to connections from all public interfaces?  That seems like a really
risky thing.  Perhaps the examples should all get updated to
''localhost''.


On 3/12/08 2:02 PM, "Ryan Leavengood" <leavengood at gmail.com>
wrote:

On Wed, Mar 12, 2008 at 4:47 PM, Noah Horton <noah at rapouts.com>
wrote:
>
> Is there any config to get the backgroundrb instances to listen to requests
> from any machine besides localhost?

If you use the same backgroundrb.yml used for your Mongrel machines on
the BackgrounDRb machine (which you should), then it should listen on
the machine''s IP which you have configured in that file. If you want
it to listen to all interfaces then use 0.0.0.0 like hemant said in
his previous post.

Regards,
Ryan

-------------- next part --------------
An HTML attachment was scrubbed...