# Configuration

### 1- Open port from firewall

Enter the firewall of your VPS and open a port. Uploads will not take place without opening a port!

* UDP/TCP&#x20;
* Transfer Type: (INBOUND AND OUTBOUND) &#x20;
* Port: 48080

[How to open port (ec.europa.eu)](https://ec.europa.eu/digital-building-blocks/sites/display/CEKB/How+to+open+a+port+on+the+firewall)

### 2- How to edit config files

First of all, open the 'config.js' file and find the 'config.js' file.

```lua
Config.Host = "PLACE YOUR IP ADRESS TO HERE" // replace your ip
```

[Whats my ip adress (check-host.net)](https://check-host.net/)

Then edit the following part as well

```javascript
Config.UploadServer = "http://PLACE YOUR IP ADRESS HERE:48080";
```

### 3- Make sure everything is working correctly

If you are experiencing any errors in your server console. Please don't forget to open a ticket on discord!

[discord.gg/0resmon](https://discord.gg/0resmon) (For support)


---

# 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.0resmon.org/0resmon/0resmon-1/s4-resources/res-audio/configuration.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.
