[keycloak-user] Cannot access the keycloak standalone server using the machine hostname
Stian Thorgersen
sthorger at redhat.com
Tue Dec 22 02:39:42 EST 2015
You can also just run it with:
bin/standalone.sh -b 0.0.0.0
On 21 December 2015 at 18:59, Thomas Raehalme <
thomas.raehalme at aitiofinland.com> wrote:
> 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
>>
>
>
>
> _______________________________________________
> 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/20151222/8631d0b0/attachment.html
More information about the keycloak-user
mailing list