# Keycloak 18.0.0. - how to set up two keycloak server on my computer?

**URL:** <https://forum.keycloak.org/t/keycloak-18-0-0-how-to-set-up-two-keycloak-server-on-my-computer/15730>\
**Category:** Configuring the server\
**Created:** [May 25, 2022, 9:04pm UTC](https://forum.keycloak.org/t/keycloak-18-0-0-how-to-set-up-two-keycloak-server-on-my-computer/15730 "2022-05-25T21:04:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felix](https://avatars.discourse-cdn.com/v4/letter/f/aeb1de/32.png) [@Felix](https://forum.keycloak.org/u/Felix)\
**Post date:** [May 25, 2022, 9:04pm UTC](https://forum.keycloak.org/t/keycloak-18-0-0-how-to-set-up-two-keycloak-server-on-my-computer/15730/1 "2022-05-25T21:04:55Z")

</div>

Hi,

Description:  
I am doing a udemy course about keycloak etc. unfortunately the lecturerer is using keycloak 10.0.0 and has no time to update or explain his steps for Keycloak 18.0.0.

So, what I would like to do for my testing environment is, to initiate two keycloak server.  
One should run on

1. [http://localhost:8080](http://localhost:8080) and the other one should run on:
2. [http://localhost:8083](http://localhost:8083)

In the past the command would have been:  
./standalone.sh -Djboss.socket.binding.port-offset=100

For some reasons this command does not work.

What’s the new way?  
I am indifferent, if you give me an explanation for Win/Linux/Mac. Anything would be great.

Thank you in advance

---

<div class="post-metadata">

**Author:** ![elmidwill](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@elmidwill](https://forum.keycloak.org/u/elmidwill)\
**Post date:** [May 27, 2022, 11:01am UTC](https://forum.keycloak.org/t/keycloak-18-0-0-how-to-set-up-two-keycloak-server-on-my-computer/15730/2 "2022-05-27T11:01:08Z")

</div>

I would point you here [OpenJDK - Keycloak](https://www.keycloak.org/getting-started/getting-started-zip). This will show you how to get a dev running quickly.

If you want something lasting and change ports etc., [Configuring Keycloak - Keycloak](https://www.keycloak.org/server/configuration). For this you will need to install a DB server and certificates to get it working. Hope that helps.

---

<div class="post-metadata">

**Author:** ![AutoReverse](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/autoreverse/32/6045_2.png) [@AutoReverse](https://forum.keycloak.org/u/AutoReverse)\
**Post date:** [June 22, 2022, 9:48pm UTC](https://forum.keycloak.org/t/keycloak-18-0-0-how-to-set-up-two-keycloak-server-on-my-computer/15730/3 "2022-06-22T21:48:16Z")

</div>

Wouldn’t your second instance be listening on [http://localhost:8180](http://localhost:8180) if you used

./standalone.sh -Djboss.socket.binding.port-offset=100

Or, [http://localhost:8090](http://localhost:8090) if you used

./standalone.sh -Djboss.socket.binding.port-offset=10
