Problem with the admin console under FreeBSD

Hi,

I just installed Openfire under FreeBSD 7.0 (both was a fresh install) und I’am not able to login to the admin console.

The warn, error and the debug log are empty and the info log looks good, see yourself:

tail /var/log/openfire/info.log

2008.05.24 19:38:44 Openfire 3.5.1

2008.05.24 19:38:50 Admin console listening at http://127.0.0.1:9090

telnet 127.0.0.1 9090

Trying 127.0.0.1…

telnet: connect to address 127.0.0.1: Connection refused

telnet: Unable to connect to remote host

netstat -an | grep 9090

tcp6 0 0 *.9090 . LISTEN

What is wong? any ideas?

Thanks

Hi,

are you using IPv6 to connect to the admin console?

You may have a local firewall which blocks loopback access.

LG

Thanks for the hint with ipv6, I had compiled ipv6 support into the jdk, this was the problem.

I am running into the same problem. How does one force the admin interface to liste on the IPv4 addresses instead of IPv6?

  1. Make sure you are using openjdk6 or 7 and not diablo jdk 1.6

  2. Set sysctl net.inet6.ip6.v6only=0

  3. Don’t use **-Djava.net.preferIPv4Stack=true **

It should listen now on “tcp46” sockets, which accept both IPv4 and IPv6 packets (pretty futureproof)

1 Like

what’s the difference between ipv4 and ipv6?

thanks.

http://en.wikipedia.org/wiki/IPv6