[JDEV] Impossible to change server-2-server port...
Riviere Stéphane
Stephane.SR.Riviere at atosorigin.com
Wed Jun 13 06:14:59 CDT 2001
Hi,
I was looking for changing the s2s listening port and this functionality
seems, for the moment, impossible to use... :-(
You can effectively change the listening port of a server using the
jabber.xml file, and the server will effectively listen on that new
port...but there won't be any connection to that port !
The 5269 port is hard-coded in the dialback_out.c file (function
dialback_out_connect)
So, the mio_connect is always connecting to the remote server on the port
5269.
I think there should be a section in the jabber.xml file to configure
special remote servers. Why not some sort of "routing" table in the s2s
service section ?
<service id="s2s">
...
<virtual id="remote.hostname">
<ip port="yyyy"> xxx.xxx.xxx.xxx </ip>
</virtual>
...
<virtual id="remote.namehost">
<ip port="zzz"/>
</virtual>
...
</service>
Clients can be configured to use a port different from 5222, so why not
servers ;-)
Jabber's still great anyway...when it'll have a better proxy support ;-)
Stéphane RIVIERE
------------------------------------------
email : Stephane.sr.Riviere at atosorigin.com
tél : (0)3.20.60.83.01
Equipe Grands Projets
Direction Recherche & Développement
ATOS ORIGIN Activité Multimédia
http://www.atosorigin.com
More information about the JDev
mailing list