[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] Multi-homed machine



On Fri, Aug 23, 2002 at 04:34:09PM +0200, Marcel Ruff wrote:
> David Kerry wrote:
> 
> >Hi Folks,
> >
> >	I'm attempting to setup and configure xmlBlaster here on a machine
> >that has 6 nics.
> >
> >	After getting everything just they way I wanted, I immediately
> >ran into the problem that xmlBlaster gives me no way to specify which
> >ip address to bind to for a given service.  The XML-RPC service in
> >particular is giving me a problem.
> >
> >	How do I setup the XML-RPC service to do the following?:
> >
> >	a) Bind to the wildcard address (any address - *.*.*.*)
> >	   or (even better)
> >	b) Bind to any subset of the configured IP addresses on
> >	   the machine.
> >
> >Thank you
> >  
> >
> Try
> 
> java org.xmlBlaster.Main -help
> 
> you find options for adjusting ports, hostnames etc for all protocols.
> 
> regards,
> 
> Marcel

Hmm.. ok, I can do this: -xmlrpc.hostname=0.0.0.0, and I get my
default any-address bind, which is good.  However, it would also
be *very* nice to be able to specify a list of addresses to bind
to.  My machine has 6 addresses (7 if you include localhost),
plus potentially lots more virtual addresses.  I may not want to
expose this service to all interfaces, and throwing firewall
rules in all over the place gets rather messy.

In an ideal world, I would like to be able to do this:

XML-RPC running on these ports, for example:

127.0.0.1:8080
192.168.1.2:8080
(out of the 7 available)

I did attempt to specify multiple xmlrpc.hostname property values
(or on the command line), but all that happened was it picked up
the last (or first) defined value ignoring the others.

-- 
David Kerry