Skip to content

Changing localhost port

ContestedWheel edited this page Jul 22, 2025 · 4 revisions

If you are getting "Port already allocated" when creating a second dex, you will need to change the port number of the admin panel. This is a very easy thing to do and requires little effort.

Changing the port

  1. Open docker-compose.yml in your text editor.

  2. Scroll down a bit until you see "8000:8000". Change it to "8001:8000".

Important

Make sure you are changing the correct ports. The line you should be changing should be under the admin-panel category as seen below.

image

  1. Save your changes and restart your bot using docker compose restart. If your bot has been already not running, do docker compose up -d instead.

After changing the port, you will need to create a new account on that port. Click here to be redirected to a tutorial on how to make an account if you don't know how to. (local accounts recommended for beginners)

Clone this wiki locally