Our shop is closed while we rebuild it. Get an email when it opens
  1. Home
  2. Guides
  3. How to join a game server by its address

How to join a game server by its address

You need the server's address and port, written with a colon, such as 203.0.113.25:25565, plus the password if there is one. Each game has its own place to type it: Multiplayer in Minecraft and Terraria, the F1 console in Rust.

The two things you need

To join a server you need its address and, usually, a port. The address is a string of numbers (an IP address) such as 203.0.113.25, or a name that stands in for it. The port is a number that says which door on that computer the game should knock on. They are written with a colon between them: 203.0.113.25:25565.

Whoever runs the server gives you both, plus the password if there is one. Typing the port is never wrong, even in games where you can sometimes leave it off.

Joining, game by game

Minecraft (Java Edition)

  1. From the main menu choose Multiplayer.
  2. Choose the direct connection option and type the address.
  3. The Minecraft wiki gives the Java Edition server's default port as 25565, so an address looks like your-address:25565.

Playing on the same PC as the server? Use localhost. On the same home network? Use the server PC's home-network address, which looks like 192.168.0.168:25565, as the wiki shows. Bedrock Edition is a different version of the game with a different default port, 19132.

Terraria

  1. Choose Multiplayer from the main menu and pick your character.
  2. Choose Join via IP and enter the server's IP address and port. The Terraria wiki gives 7777 as the default port.
  3. Enter the password if the server has one.

The game remembers recent servers in the same place, so you only type it once.

Rust

  1. Start Rust and wait for the main menu.
  2. Press F1 to open the console.
  3. Type connect followed by the address and port. Rust's documentation shows connect localhost:28015 for a server on your own PC, and says to use the server's public address for remote players. The default game port in the documentation is 28015.

ARK: Survival Evolved

ARK's wiki lists two routes. In the game, use the search in the unofficial server list to find the server, then add it to your favourites. Or in Steam, add the server to your favourites by its address and query port, written address:queryport. The query port in the wiki's list of ports is 27015. Players on the Epic Games Store need extra settings on the server, which the server's admin has to set.

7 Days to Die

A server set to public appears in the game's server browser. The 7 Days to Die modding wiki says a server set to friends-only effectively means the first player has to connect by typing the address directly. The default game port is 26900. It also spells out two more things: the game on your PC and the server must be the same build, and if a password is set you need it.

If it will not connect

Work down the list. The first three fix most problems.

  1. Is the server actually on? Rust's documentation says startup takes several minutes and to wait for "Server startup complete."
  2. Typo? Check the numbers, the colon and the port. Copy and paste if you can.
  3. Same version? The 7 Days to Die wiki says client and server must be on the same build. Update the game or ask the admin to.
  4. Password? A wrong or missing password stops you at the door.
  5. Is the server on someone's home connection? Then its port has to be opened on the router and in the firewall for outside players. This is a common reason a friend outside the house cannot join, and it is explained in hosting on your own PC or renting. The port numbers for each game are in ports explained.
  6. Modded server? Players usually need the same mods as the server.

If you run the server, send your friends the address and port in one message and the password in a separate one. That saves you answering the same three questions every evening.

Game pages that go with this guide

Quick answers

What is a server port?

A port is a number that says which program on the computer the game should connect to. It is written after the address with a colon, for example :25565.

Why can my friend not join my server?

Check the server is running, the address and port are typed correctly, you are on the same game version, the password is right, and, if the server runs at home, that its port is open on the router and firewall.

Sources (read 2 December 2026):

Want a server of your own one day?

Our shop is closed while we rebuild it. If you would like an email when it opens, leave your address here.

More guides

All guides