# How to Connect to Your Killing Floor 2 Server (/docs/killing-floor-2/connect-to-your-server)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Here's how to find your server's IP address and connect to your Killing Floor 2 server. You can join via the in-game server browser or by using a console command for direct connect.

Finding Your Server IP [#finding-your-server-ip]

<div className="fd-steps">
  <div className="fd-step">
    Open the XGamingServer panel [#1-open-the-xgamingserver-panel]

    Log in to the [XGamingServer panel](https://panel.xgamingserver.com) and select your Killing Floor 2 server.
  </div>

  <div className="fd-step">
    Locate your IP address [#2-locate-your-ip-address]

    Your server IP address is displayed in the sidebar (e.g., `198.137.23.46:7777`).

    > 💡 **Tip:** Click the IP address to copy it to your clipboard. The number before the colon is the IP address, and the number after is the game port — you'll need both to direct connect.
  </div>
</div>

Understanding Killing Floor 2 Ports [#understanding-killing-floor-2-ports]

Killing Floor 2 uses multiple ports for different services:

| Port      | Protocol | Purpose                                       |
| --------- | -------- | --------------------------------------------- |
| **7777**  | UDP      | Game port — players connect here              |
| **27015** | UDP      | Steam query port — used by the server browser |
| **8080**  | TCP      | WebAdmin port — browser-based admin panel     |

The game port (7777) is the one you'll use when connecting. The query port allows the server browser to display your server's information, and the WebAdmin port is for the [browser-based admin panel](/docs/killing-floor-2/adding-admins).

Using the Server Browser [#using-the-server-browser]

<div className="fd-steps">
  <div className="fd-step">
    Open Multiplayer [#1-open-multiplayer]

    Launch Killing Floor 2 and select **Matchmaking** > **Browse Servers** from the main menu.
  </div>

  <div className="fd-step">
    Set your filters [#2-set-your-filters]

    Use the filter options to narrow down the server list:

    * Set **Game Type** to match your preferred mode (Survival, Versus Survival, Weekly, Endless)
    * Set **Difficulty** to your preferred setting
    * Uncheck **Not Full** and **Not Empty** if you want to see all servers
  </div>

  <div className="fd-step">
    Search for your server [#3-search-for-your-server]

    Look for your server by [name](/docs/killing-floor-2/change-server-name) in the server list, or use the search bar at the top.
  </div>

  <div className="fd-step">
    Join your server [#4-join-your-server]

    Select your server and click **Join**.

    The server browser shows useful information before you connect:

    * **Player count** — How many players are currently in the game
    * **Map** — Which [map](/docs/killing-floor-2/change-map) is currently active
    * **Difficulty** — The current [difficulty setting](/docs/killing-floor-2/change-difficulty)
    * **Game type** — Survival, Versus Survival, Endless, or Weekly
    * **Ping** — Your latency to the server (lower is better)
    * **Lock icon** — Indicates the server requires a [password](/docs/killing-floor-2/set-a-password)
  </div>
</div>

Direct Connect via Console [#direct-connect-via-console]

If your server doesn't appear in the browser or you want to connect faster:

<div className="fd-steps">
  <div className="fd-step">
    Open the console [#1-open-the-console]

    Press the **tilde key** (`~`) to open the in-game console. If the console doesn't open, enable it in **Settings** > **Game** > **Enable Console**.
  </div>

  <div className="fd-step">
    Enter the connect command [#2-enter-the-connect-command]

    Type the following command, replacing the IP and port with your server's details:

    ```
    open 198.137.23.46:7777
    ```
  </div>

  <div className="fd-step">
    Press Enter [#3-press-enter]

    The game will connect directly to your server.

    If the server has a [password](/docs/killing-floor-2/set-a-password), add it to the command:

    ```
    open 198.137.23.46:7777?password=YourPassword
    ```
  </div>
</div>

Connecting via Steam [#connecting-via-steam]

You can also connect through Steam's server browser:

<div className="fd-steps">
  <div className="fd-step">
    Open Steam [#1-open-steam]

    In the Steam client, go to **View** > **Game Servers**.
  </div>

  <div className="fd-step">
    Add your server to Favorites [#2-add-your-server-to-favorites]

    Click the **Favorites** tab, then click **Add Server**. Enter your server's IP and query port (e.g., `198.137.23.46:27015`).
  </div>

  <div className="fd-step">
    Connect [#3-connect]

    Right-click the server and select **Connect**.

    > 📝 **Note:** The Steam server browser uses the **query port** (27015), not the game port (7777). If you add the wrong port, the server won't show up.
  </div>
</div>

Troubleshooting Connection Issues [#troubleshooting-connection-issues]

If you can't connect to your server:

* **Server not showing in browser** — Make sure the server has fully started. Check `Console` on the XGamingServer panel for startup progress. It can take a minute or two for the server to register with Steam.
* **"Connection failed"** — Verify the IP address and game port are correct. Try restarting the server from the panel.
* **Stuck on loading screen** — The server may be switching maps. Wait for the map transition to complete, or try reconnecting.
* **Version mismatch** — Make sure your game client is updated. Killing Floor 2 updates automatically through Steam.
* **Password prompt** — The server has a [password](/docs/killing-floor-2/set-a-password) set. Ask the server owner for the password.

Adding Your Server to Favorites [#adding-your-server-to-favorites]

After finding your server in the browser:

<div className="fd-steps">
  <div className="fd-step">
    Find your server [#1-find-your-server]

    Locate your server in the **Browse Servers** list.
  </div>

  <div className="fd-step">
    Add to Favorites [#2-add-to-favorites]

    Right-click the server and select **Add to Favorites**.
  </div>

  <div className="fd-step">
    Access from Favorites [#3-access-from-favorites]

    Your server now appears under the **Favorites** tab for quick access in future sessions.

    If you get stuck at any time, you can join our [Discord](https://discord.xgamingserver.com/).
  </div>
</div>
