> For the complete documentation index, see [llms.txt](https://learn.netmaker.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.netmaker.io/help-articles/how-to-change-your-device-listen-port.md).

# How to Change Your Device Listen Port

This article explains how to change the device listen port via the Netmaker dashboard, covering steps to update the port, save changes, and restart the device.

Log into the Netmaker Dashboard:

* Open your web browser and go to your Netmaker dashboard.
* Log in with your admin credentials.\ <br>

  <figure><img src="/files/VbJ9R2vaLdkRj7zyWUTB" alt=""><figcaption></figcaption></figure>

After you log in to the Netmaker dashboard, you will see the Node screen. Then go to the All Devices page.<br>

<figure><img src="/files/TykQwSmyKk2j6oYtVoTr" alt=""><figcaption></figcaption></figure>

In this guide we change the listen port of the **Gateway\_01**. Follow these steps:

{% stepper %}
{% step %}

### Select the Device

Click on the **Gateway\_01** device.
{% endstep %}

{% step %}

### Edit Device

Click on the **Edit** option to modify the device's settings.

<figure><img src="/files/3W5c5uoqctJF86DGns2Z" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Enable Static Port

Turn on the **Static Port** toggle to ensure the port remains fixed.

<figure><img src="/files/6JNds3piJiFiBDV8uENi" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Enter the Listen Port

Enter your preferred listening port. For this guide, we use port **51900**.

<figure><img src="/files/wJHoUiyoV3Hn59zIlWL4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Update Device

Click **Update Device** to save your changes.
{% endstep %}
{% endstepper %}

Hint: You can verify the new port number in the device's settings in the netmaker dashboard or by running the following command from one of the remote gateway peers:

{% code title="Verify port" %}

```bash
netclient list -l
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://learn.netmaker.io/help-articles/how-to-change-your-device-listen-port.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
