Open your server in the game panel and start it. Wait until the console reports that startup has completed. Copy the address shown for that server, including its port when one is displayed.
On first start, Minecraft may stop to request agreement to the Minecraft EULA. Read the linked EULA in the panel console and approve it only if you agree, then start the server again. A server waiting for EULA approval is not yet ready for players.
In Minecraft Java Edition, open Multiplayer, choose Add Server, and enter that address. Your game version must match the server version. A modded server may also require the matching client modpack.
If connection fails, include the service ID, address, Minecraft version and full error text in a support ticket. Do not reinstall or change server software to fix a connection error before protecting your world.