I believe both can be supported, although you need to specify which one
you prefer for the hostname to IP conversion.
For example if you have a setup like this:
java.net.preferIPv4Stack=false
java.net.preferIPv6Addresses=true
The prefered choice for hostname to IP conversions will be IPv6. There
are more details into the WildFly documentation about it. I suggest to
give it a try:
Hi Bruno/Stan,
Thank you very much for the quick reply.
I was able to bind Keycloak to listen on either ipv4 or on ipv6 address.
But I was wondering if Keycloak supports dual ip stack i.e. can Keycloak
listen on both ipv4 and ipv6 simultaneously? Please correct me if I am
missing something. Eager to hear from you.
Thanks,
Shiva
On Thu, Jun 13, 2019 at 4:58 PM Bruno Oliveira <bruno(a)abstractj.org> wrote:
> Long time ago we tested ipv6[1], and everything worked really well. Just
> a quick not that we do not support ipv6 in the URLs, as mentioned in
> the same Jira.
>
> [1] -
https://issues.jboss.org/browse/KEYCLOAK-1587
>
> On 2019-06-13, Shiva Prasad Thagadur Prakash wrote:
> > Hi Guys,
> >
> > Can Keycloak be bound to ipv6 address? or Can it be bound to both ipv4
> and
> > ipv6, for example, -b [[::]]. Are there any configurations I have to
> > changes to be done? Eagerly waiting for the reply.
> >
> > Thanks,
> > Shiva
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/keycloak-user
>
> --
>
> abstractj
>