Java Edition: choose Multiplayer → Add Server and use the address below (default port 25565).
Bedrock Edition: on mobile or Windows, choose Play → Servers → Add Server. Use the same address and set the port to 19132.
/help
Bedrock on Xbox, PlayStation and Switch may need extra steps to add a custom server. Realm access can change during beta. Check Discord for supported versions and connection help.