[JDEV] Configuring server side component
Ulrich Staudinger
chicago5 at gmx.de
Mon Nov 25 05:41:42 CST 2002
admin at jabber.fsinf.de wrote:
>
> On Mon, 25 Nov 2002, OUCHIA Mehdi FTRD/SVA/LAN wrote:
>
> > Indeed, i have a jabberd running on a first machine called "MachineA"
> > and an "accept" component on another one called "MachineB". In
> > jabber.xml on "MachineA", if i configure my component called
> > "ordermanager" as follows :
> > <service id="ordermanager.MachineA">
> > <accept>
> > <ip>MachineB</ip>
>
> AFAIK you have to enter the IP of MachineA here. It listens *on* this IP.
> You do *not* specify here which IPs are accepted.
>
> > What is the real meaning of the "<ip>" tag ? Does the jabberd need this
> > information to correctly redirect xml packets to the component ?
>
> You can use <ip/> and connections on any IP address are accepted (e.g. on
> any network interface and loopback/localhost).
... and if you run multiple servers on the same machine, i.e. localhost,
xyz.igpp.de, 192.168.3.2, afaik the ip tag must contain the ip to which
the component connects to. during testing i found out, the value
localhost doesn't let a component running on another machine connect to
the server.
ulrich
More information about the JDev
mailing list