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 [EMAIL PROTECTED] from 2@c2s/134566968:
Internal Delivery Error
20010529T02:55:30: [notice] (192.0.0.5): bouncing a
routed packet to [EMAIL PROTECTED] from 2@c2s/134577496:
Internal Delivery Error

Why the client can not connect to jabber server
throught jpolld ? Thank's for some advice.



--- temas <[EMAIL PROTECTED]> 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
> > [EMAIL PROTECTED]
> > http://mailman.jabber.org/listinfo/jdev
> 
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to