2 Replies Latest reply on Jul 19, 2018 1:18 AM by Sreekanth N Shenoy

    Application Not Accessible Via. IPv6 in wildfly 9.0.2

    Sreekanth N Shenoy Newbie

      I have deployed two applications in wildfly 9.0.2 and everything working fine. My fellow developer asked me to enable IPv6.


      I have modified standalone.conf.bat to enable IPv6 as follows,

      -rem # set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true"

      +set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Stack=true"


      Later i modified standalone.xml interface tag as follows [ Added an interface any ]



              <interface name="management">



              <interface name="public">



              <interface name="unsecure">



      <interface name="any">






      Later modified socket binding group as


      <socket-binding-group name="standard-sockets" default-interface="any" port-offset="${jboss.socket.binding.port-offset:0}">


      Now test run

      ..Started wildfly..

      I can see the message in server log as

      INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0006: Undertow HTTP listener default listening on /0:0:0:0:0:0:0:0:8080


      Am able to browse context page http://[IPv6]:8080, management console http://[IPv6]:9990 but not application on http://[IPv6]:8080/Appname


      In chrome am getting an error "ERR_INVALID_REDIRECT"


      Application is perfectly working in IPv4.. Please help.@