How to join a Minecraft server on Java Edition

Java Edition
Joining servers

Java Edition is the version of Minecraft for Windows, macOS and Linux that you start from the Minecraft Launcher. To join a server you need two things: the server's address, which server lists call the IP, and a game version the server accepts.

What you need

  • Minecraft: Java Edition, signed in to the Minecraft Launcher with your Microsoft account.
  • The server's address, for example play.example.net. Every server on this list has a button that copies its IP.
  • For a modded server, the same modpack the server runs (see below).

Add the server and join

  1. Copy the server's IP from its listing.
  2. Open the Minecraft Launcher, choose Minecraft: Java Edition and click Play.
  3. On the title screen, click Multiplayer.
  4. The first time, a screen headed Caution: Third-Party Online Play explains that servers are not run by Mojang or Microsoft. Click Proceed. Tick Do not show this screen again to skip it next time.
  5. Click Add Server.
  6. Type any name in Server Name. It is only the label in your list.
  7. Paste the IP into Server Address and click Done.
  8. The server appears in your list with its message, player count and ping. Select it and click Join Server.

To try a server once without saving it, click Direct Connection instead of Add Server, paste the address and click Join Server.

Addresses and ports

Java servers use port 25565 unless they say otherwise. If a server gives its address with a port, such as play.example.net:25570, paste the whole thing, colon and number included, into Server Address. If there is no port in the address, the game uses the default.

Use the version the server accepts

The launcher starts the latest release unless you pick something else. Many servers accept several versions, but if yours does not, the game says Incompatible client! and names the version to use. To play that version:

  1. In the Minecraft Launcher, open the Installations tab.
  2. Click New installation, choose the version from the list, give it a name and click Create.
  3. Back on the Play tab, choose the new installation in the menu next to Play and start the game.

Modded servers

A server that runs mods only lets you in with the same mods, at the same versions, on your side. Modded servers name the modpack they use and usually how to install it, often through a modpack launcher such as CurseForge, Modrinth, the FTB App or the Technic Launcher. Install the pack, start the game from it, then add and join the server from Multiplayer as above. Servers that run plugins rather than mods need nothing extra. Minecraft Modded servers lists servers that run mods.

Common errors

  • Can't connect to server or Failed to connect to the server. The server is offline or the address has a typo. Check the address, and check the server's status on its page.
  • Can't resolve hostname. The address is spelled wrong or no longer exists.
  • You are not white-listed on this server! Only approved players can join. The server's page, website or Discord says how to apply.
  • The server is full! Every slot is taken. Try again later.
  • Multiplayer is disabled. Please check your Microsoft account settings. Your account's Xbox privacy and online safety settings block multiplayer. On a child account, a parent or family organizer has to allow it.
  • Invalid session. Close the game and the launcher, open them again and rejoin.

Find a server

Start with what you want to play: Survival servers for the game as it ships, or SMP servers for a shared world with a steady group of players. If you also play on a phone, tablet or console, read Java vs Bedrock servers to see which servers you can join from each device.

Find a server

Did you join this server?
What went wrong?
Thanks. Your answer helps us rank servers.