# LAN Discovery

Many admins who have tried, reported a local server does not appear on the LAN tab in the steam browser.

![LAN Discovery](/files/-LT-BBEsus2sJSEv7Uag)

## Workarounds

### Console Command

Connect using the console command.

```
connect IP:PORT
```

If the port is 27015, then you can just use : `connect IP`

```
connect 192.168.1.10:27025
```

### Add server to favourites

Add the server to the server browser's favourites. If in-game, then go to the legacy browser if applicable to find it. The syntax to use is the same as for the console connection.

{% hint style="danger" %}
Make sure your server actually works and is reachable on LAN, otherwise what you need is rather [Troubleshooting](/troubleshooting.md) first.
{% endhint %}

## Fix

As [this github issue](https://github.com/GameServerManagers/LinuxGSM/issues/1770) shows, there might be a possible configuration that fixes the issue, but LinuxGSM devs were not able to reproduce it at the time of writing the doc, so this information is purely experimental and you are welcome to update it or post on the issue if you have useful information to share about it.

1. Edit your [Start Parameters](/configuration/start-parameters.md) using your [LinuxGSM Config](/configuration/linuxgsm-config.md) files
2. Change `ip="0.0.0.0"` to an actual interface IP, for example `ip="192.168.1.10"` ; this will allow LinuxGSM to [monitor](/commands/monitor.md) and query your server properly.
3. In the `fn_parms` section, add `+sv_lan 1` and make sure you replace `-ip ${ip}` with `-ip 0.0.0.0`
4. Make sure your server main port listens to one of these IP or IP ranges: 4242 ; 26900-26905 ; 27015-27020 ; 27215


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.linuxgsm.com/steamcmd/lan-discovery.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
