HomeIndex > FAQ > Admin questions > Remote admin using deployer.jar fails to connect when IPv6 is used
{scrollbar}

On Geronimo versions at or below 2.0.1

As pointed out in GERONIMO-2567 Remote admin of server using deployer.jar fails to connect when IPv6 is used you should change Geronimo configuration to take it into account (by default it expects IPv4 addresses).

When the following command fails with the error message:

$ java -jar deployer.jar --user system --password manager --host 172.16.1.41 redeploy your.war Error: Unable to connect to server at deployer:geronimo:jmx://172.16.1.41 - Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused

you're likely using IPv6 system.

To work it around, set the remoteDeployAddress in the server's config.xml wrapped with [ ].

On Geronimo version about 2.0.1

This problem was fixed both in trunk and in the 2.0.x source with revision 568304.