hi, > > > <service id="sms"> > > > <host>localhost</host> > > > <accept> > > > <ip>127.0.0.1</ip> > > > <port>1234</port> > > > <secret>test</secret> > > > </accept> > > > </service> > > with <host>sms.localhost</host> instead of <host>localhost</host>, it > > should work better ... > It works! Both localhost and sms.localhost point to 127.0.0.1, why > does it matter? what you specify in the <host> section is the jid of the service that will connect to jabber. this jid is then used by jabber to route packets sent to this jid. if you set it to "localhost" : first, I'm not sure your service will succeed to connect to jabber becase jids will not match. second, all packets sent to localhost will be routed to your service ... hmm, I'm not really sure of what happens in this case ... when you previously received the 404 error, was your service connected to jabber or not ?
regards, Benoit. -- Benoit Orihuela IDEALX S.A.S. _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev