[keycloak-user] Does Keycloak support binding to ipv6 address

Bruno Oliveira bruno at abstractj.org
Thu Jun 20 16:18:28 EDT 2019


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: https://docs.wildfly.org/17/Admin_Guide.html#ipv4-versus-ipv6

On 2019-06-20, Shiva Prasad Thagadur Prakash wrote:
> 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 at 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 at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
> > --
> >
> > abstractj
> >

-- 

abstractj


More information about the keycloak-user mailing list