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 1in startup parameters to appear in the browser.
Open Join IP
In the Join Game screen, click Join IP.
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
| Port | Protocol | Purpose |
|---|---|---|
| 2456 | UDP | Game traffic |
| 2457 | UDP | Steam query (auto = game port + 1) |
| 2458 | UDP | A2S query (auto = game port + 2) |
Can't Connect?
| Problem | Fix |
|---|---|
| Server not in browser | Wait 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 join | Add -crossplay to startup. See Crossplay Setup |
| Mods missing | The server has client-required mods. Subscribe to them on Thunderstore and install via your mod manager |
Related Guides
How is this guide?

Install and Configure ValheimPlus on Your Valheim Server
Install the ValheimPlus Grantapher community fork on your Valheim dedicated server for extensive gameplay, building, and server-management tweaks.
Manage and Switch Worlds on Your Valheim Server
Create new Valheim worlds, switch between existing worlds, and manage world files on your dedicated server.