Skip to content

Starting the server

Now that you have everything set up, you can start the server. Run the following command:

docker compose up -d

This will start the server in the background, and you can check the logs with:

docker compose logs -f

You should see the server starting up, and then it will print a message saying that it is listening on port 6167. You can then connect to the server using your favourite Matrix client.

You can see the list of clients I personally host here: https://nexy.blog/matrix-mirrors.

Steady, cowboy!

You aren't done yet! You should test your federation works first before you start using the server.

To do this, you can use the Matrix Federation Tester.

Plug your server name into it, and press Go. Assuming all goes well, you will see something like this (assuming we're all green too).

If your well-known is set up correctly, but your server isn't listening correctly (or if you ran the server on a different domain incorrectly), you may see a message like this one: Non-200 response 502 from remote server. Check that caddy is listening correctly and try again.

If you have an error like this one, such as a timeout or "could not connect", check that your firewall isn't blocking the connection to Caddy.

Trying to join federated rooms with a broken setup will cause issues!

If you try to join a room that is federated, and your server is not set up correctly, you will likely fail to join at best, or at worst, forever receive traffic that you won't want. Furthermore, other servers may cache your invalid configuration for up to 48 hours, making it a very time-consuming cost.

Only join rooms if the federation tester is green!

Joining our room

Once you've got Continuwuity up and running, you can join our room: https://matrix.to/#/#continuity:continuwuity.org. Come say hi and show off your new server! You can also ask any questions you have there.