How to Connect to Your Valheim Server

Join your Valheim dedicated server via the Community browser, direct IP, join code, or Steam friends list.

Find Your Server Address

Open the panel

Log in to the XGamingServer Panel and select your Valheim server.

Copy the IP and port

Click Network in the sidebar. Your address uses port 2456 (UDP) by default.

Connect to Your Server

Launch Valheim

Open the game from Steam, Xbox, or Microsoft Store.

Open multiplayer

Select your character and click Start. Choose a world (or create one), then click Start.

Find your server

In the Join Game screen, switch to the Community tab. Use the search bar to find your server by name.

Connect

Select your server and click Connect. Enter the password if prompted.

Your server must have -public 1 in startup parameters to appear in the browser.

Open Join IP

In the Join Game screen, click Join IP.

Enter the address

Type your server IP and port:

123.45.67.89:2456

Connect

Enter the password if prompted.

Direct IP works even when the server is set to private (-public 0).

When -crossplay is enabled, your server gets a 6-character join code that works on any platform — no IP forwarding required.

Get the join code

Check your server console output for the join code (something like ABC123). Or look in your server logs.

Use the join code

In Join Game, switch to the Join Code field and enter the code.

Connect

Enter the password if prompted.

Join codes work for all platforms — Steam, Xbox, Microsoft Store, and Game Pass — when the server has crossplay enabled.

Required Ports

PortProtocolPurpose
2456UDPGame traffic
2457UDPSteam query (auto = game port + 1)
2458UDPA2S query (auto = game port + 2)

Can't Connect?

ProblemFix
Server not in browserWait 1–2 minutes after startup. Verify -public 1 in startup parameters
"Wrong password"Password must be at least 5 characters and cannot match the world name
"Version mismatch"Update the server. See Update Guide
Xbox/Game Pass can't joinAdd -crossplay to startup. See Crossplay Setup
Mods missingThe server has client-required mods. Subscribe to them on Thunderstore and install via your mod manager

How is this guide?

40% Off — Limited TimeGet your Valheim server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page