# 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.

\[![](https://downloads.intercomcdn.com/i/o/al371us8/1273408727/9934400243456d88340f34c2d120/Screenshot+from+2024-12-02+15-58-14.png?expires=1769018400\&signature=7b3d6bc59efe9a30d58d7ca4fbdaea9728aefd1eb7ad38c994a42832c9b05c96\&req=dSIgFc1%2BlYZdXvMW1HO4zXf7lC2nQhPKyBVLnlu4Y4Sy5XarAqwb8EWFmuZp%0AfXkI%0A)]

Once you're logged into the Netmaker dashboard, you'll land on the Node screen. From here, select the network where the device is located.

\[![](https://downloads.intercomcdn.com/i/o/al371us8/1273449148/4733099bc5a0e8f1a123dd522288/download.png?expires=1769018400\&signature=7551d3b163a86692e25c96986b113a3c23a40509faf3dc90ea30eaf77fa07993\&req=dSIgFc16lIBbUfMW1HO4zfvntTtLPNyHVf9Kj0UVSM%2BouYsU3m1QJB9%2Ba1J1%0AfBoS%0A)]

In this guide we change the listen port of the remote-gateway device on the demo network. Follow these steps:

{% stepper %}
{% step %}

### Select the Device

Click on the **remote-gateway** device.
{% endstep %}

{% step %}

### Access the Device Settings

In the device details, click on **Device Settings**.

\[![](https://downloads.intercomcdn.com/i/o/al371us8/1277876939/0089291923244b153c5cbcb417bc/Screenshot+from+2024-12-05+15-48-46.png?expires=1769018400\&signature=c9453b2be6e209bf484d8783360b5745bab226accb2daf768ce55c4d3a6681f8\&req=dSIgEcF5m4hcUPMW1HO4zUXuDunDtuPNPdu6BHDlYD0rnSMn62ax%2Ff2ZaYen%0A0JdN%0A)]
{% endstep %}

{% step %}

### Edit Device

Select the **Edit** option to modify the settings.

\[![](https://downloads.intercomcdn.com/i/o/al371us8/1277878843/e7713c7b8c450f0a57e812ddc089/Screenshot+from+2024-12-05+15-50-15.png?expires=1769018400\&signature=646f1cd83077ff5a0730b1563258ecbcf74585cc30c27986a3efd5c15d6463a7\&req=dSIgEcF5lYlbWvMW1HO4zeku3kOmM%2F31urZ085oSGEBnXxT2doVllqgda%2FvW%0AP4Ye%0A)]
{% endstep %}

{% step %}

### Go to Device Settings

Click on "Go to Device Settings".

\[![](https://downloads.intercomcdn.com/i/o/al371us8/1277711048/0f7453887c4745c5b8feb5d2a684/Screenshot+from+2024-12-05+13-56-53.png?expires=1769018400\&signature=2d8aa34552f1e0ef36f0be2e4893f43b02af6403eaf1a36daeec207e22ebc5fe\&req=dSIgEc5%2FnIFbUfMW1HO4zbMtPVfvYnNn7l8APKvcaOCwBCpwICRRXqQSTpIu%0A4Uq7%0A)]
{% endstep %}

{% step %}

### Enable Static Port

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

\[![](https://downloads.intercomcdn.com/i/o/al371us8/1277728023/f29a55faab4bb3077aa15f6cfab5/Screenshot+from+2024-12-05+14-09-41.png?expires=1769018400\&signature=4b2124e61279c3f80e8fc443a8e656c4f1b8478c87e504813984eca3efdc9125\&req=dSIgEc58lYFdWvMW1HO4zT13ZoeEMJQzzoHfLLKoNf0lY3Oe4dlVtYdC7kA4%0A19tR%0A)]
{% endstep %}

{% step %}

### Enter the Listen Port

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

\[![](https://downloads.intercomcdn.com/i/o/al371us8/1277874477/9a2dcd3757cdd1c033bbb538b0fd/Screenshot%2Bfrom%2B2024-12-05%2B14-05-59.png?expires=1769018400\&signature=47b8bb8c5250b96d03044f716ceabbade5455e8529ae3fd97bf54e05788edbaf\&req=dSIgEcF5mYVYXvMW1HO4zf3Hia0gTQbTGC%2F5dH6azSjKsZr5%2F6S%2ByKnUwyBO%0AEgTA%0A)]
{% 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 Global settings or by running the following command from one of the remote gateway peers:

{% code title="Verify port" %}

```bash
netclient list -l
```

{% endcode %}


---

# 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://learn.netmaker.io/help-articles/how-to-change-your-device-listen-port.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.
