You join from the Multiplayer menu in Minecraft: Java Edition, using the address from question 1.
Done (5.123s)! For help, type "help".123.45.67.89:25571.Using mods? If the server runs a modpack or Fabric/Forge mods, you need the same modpack or mods installed in your own game (see the guides "How do I install a modpack?" and "How do I install Fabric or Forge mods?").
Can't connect? Follow the guide "Why can't anyone connect to my server?" for a step-by-step checklist.
Bedrock players (phone, console, Windows Bedrock) cannot join a Java server unless you set up Geyser (see the guide "How do I let Bedrock players join with Geyser and Floodgate?").