powered by Jive Software

IPv6 and XMPP under Windows XP?

I’m trying to get Openfire up and running on a dual-stack XP SP2 box. IPv6 is up and running with no firewall (currently streaming live video via ipv6). I installed OpenFire 3.4 and used a fairly default config (setup to listen on all addresses).

After starting the server I tried to connect using Spark to the IPv6 address with no luck.

netstat -an showed that several of the services were listening on , however there was no jabber server listening on port 5222 for IPv6, only for IPv4. I changed the config file to specify the IPv6 address in the network statement and re-started the server. I now get this error message when starting up:

Error starting XMPP listener on port 5222: Address family not supported by protocol family: bind

Error starting SSL XMPP listener on port 5223: Address family not supported by protocol family: bind

I thought OpenFire had full support for IPv6 - what am I doing wrong, or what else should I try to troubleshoot further?



This appears to be a Java bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761

Windows’ support for IPv6 is very experimental, and as such Java’s support for it is also experimental. As was noted- this is a bug in Java itself, not openfire. If you need IPv6 support for Openfire, I suggest using an OS with better support (Linux, BSD, possibly even the Windows Server family)

Followup discussion: http://www.igniterealtime.org/community/thread/36598