[keycloak-user] Cannot access the keycloak standalone server using the machine hostname

Thomas Raehalme thomas.raehalme at aitiofinland.com
Mon Dec 21 12:59:14 EST 2015


Hi,

That's because Wildfly binds to 127.0.0.1 by default. Define system
property jboss.bind.address to override the setting, for example:

export JAVA_OPTS="-Djboss.bind.address=0.0.0.0"

Best regards,
Thomas


On Mon, Dec 21, 2015 at 6:52 PM, Aritz Maeztu <amaeztu at tesicnor.com> wrote:

> I am launching keycloak 1.7.0.Final using the default configuration on a
> Windows 7 machine (standalone.bat). However, when I try to access it with
> some host name different than localhost (let's say
> http://myhostname.mycompany.com:8080/auth/ or
> http://192.168.0.155:8080/auth/), the server doesn't respond. This makes
> some client I have configured work properly when I login in my host machine
> but not when I am in another one, since I need to have
> http://localhost:8080/auth/ as "auth-server-url" in my client, but when
> performing redirection the url is not available obviously from a remote
> machine.
>
> That could sound a trivial question, but still I don't know how to solve
> it having looked the documentation up.
>
> Thanks in advance.
> --
> Aritz Maeztu Otaño
> Departamento Desarrollo de Software
> <https://www.linkedin.com/profile/preview?vpa=pub&locale=es_ES>
> <http://www.tesicnor.com>
>
> Pol. Ind. Mocholi. C/Rio Elorz, Nave 13E 31110 Noain (Navarra)
> Telf.: 948 21 40 40
> Fax.: 948 21 40 41
> Antes de imprimir este e-mail piense bien si es necesario hacerlo: El
> medioambiente es cosa de todos.
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151221/3846899c/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.png
Type: image/png
Size: 2983 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20151221/3846899c/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkdin.gif
Type: image/gif
Size: 1295 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20151221/3846899c/attachment.gif 


More information about the keycloak-user mailing list