[JDEV] JPOLLD
Kong Putra Yohanes
kongput at yahoo.com
Wed May 30 01:17:33 CDT 2001
I have tried with your advice. And I have include a
line at 192.0.0.5 in /etc/hosts with :
192.0.0.24 digimon.com.
Then I run jpolld at 192.0.0.5 with command :
./jpolld -d 5225 -h digimon.com -n c2s -s test
But this message is appear :
There was an error creating the master socket
Can not create master socket!
--- Thomas Muldowney <temas at box5.net> wrote:
> Ok, first, I think for -h you need to use
> digimon.com. Next, you would have
> to put digimon.com as the hostname to connect to in
> Jarl, once you do that it
> should be working.
>
> --temas
>
> On Mon, May 28, 2001 at 07:59:58PM -0700, Kong Putra
> Yohanes wrote:
> > I have set jabber server host name as digimon.com
> > (that's my computer name's, before that i set to
> > 192.0.0.24) like this :
> > <host><jabberd:cmdline
> > flag="h">digimon.com</jabberd:cmdline></host>
> >
> > In jabber.xml, i remove old <service id="c2s">
> section
> > and put this new section :
> >
> > <service id="c2s">
> > <host>jpolld.192.0.0.5</host>
> > <accept>
> > <ip/>
> > <port>5225</port>
> > <secret>test</secret>
> > </accept>
> > </service>
> >
> > At computer 192.0.0.5, i run jpolld with this
> command
> > :
> > ./jpolld -d 5225 -h 192.0.0.24 -n c2s -s test
> >
> > And jpolld is runnning with message 'Listening on
> > NULL:5222', then when i connect with jarl client
> at
> > 192.0.0.24 to jpolld (192.0.0.5) in jpolld this
> > message is shown :
> > [1] Adding conn at 2
> > [1] Max PFD: 2
> > [1] Conn gone, mpfd: 1
> > [1] Adding conn at 2
> > [1] Max PFD: 2
> > [1] Conn gone, mpfd: 1
> >
> > And at jabber server (192.0.0.24) this message is
> > shown :
> > 20010529T02:55:24: [notice] (192.0.0.5): bouncing
> a
> > routed packet to demo at 192.0.0.5 from
> 2 at c2s/134566968:
> > Internal Delivery Error
> > 20010529T02:55:30: [notice] (192.0.0.5): bouncing
> a
> > routed packet to demo at 192.0.0.5 from
> 2 at c2s/134577496:
> > Internal Delivery Error
> >
> > Why the client can not connect to jabber server
> > throught jpolld ? Thank's for some advice.
> >
> >
> >
> > --- temas <temas at box5.net> wrote:
> > > Because of the names =) The to attribute in the
> > > stream header has to
> > > match the host setting for the _main_ jabberd
> setup,
> > > not the jpolld
> > > setup. So you would have to use DNS or
> something to
> > > provide some of the
> > > internal translation.
> > >
> > > --temas
> > >
> > > On 27 May 2001 20:32:22 -0700, Kong Putra
> Yohanes
> > > wrote:
> > > > Hi everyone.
> > > >
> > > > I have tried to run jpolld in the same machine
> > > > (192.0.0.24) with jabber server 1.4.1 and it
> work
> > > > nice, but when i run jpolld in the others
> machine
> > > > (192.0.0.5) and try to connect the jabber
> server
> > > > (192.0.0.24), it can connect too, but when i
> try
> > > to
> > > > use jarl to connect the jpolld (192.0.0.5),
> and
> > > error
> > > > has accure. Can anyone help me ?
> > > >
> > > > Thank's for the information. :)
> > > >
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Yahoo! Auctions - buy the things you want at
> great
> > > prices
> > > > http://auctions.yahoo.com/
> > > >
> _______________________________________________
> > > > jdev mailing list
> > > > jdev at jabber.org
> > > > http://mailman.jabber.org/listinfo/jdev
> > >
> > > _______________________________________________
> > > jdev mailing list
> > > jdev at jabber.org
> > > http://mailman.jabber.org/listinfo/jdev
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Auctions - buy the things you want at great
> prices
> > http://auctions.yahoo.com/
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
>
> ATTACHMENT part 2 application/pgp-signature
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
More information about the JDev
mailing list