---
title: "Ports and firewall"
description: "Which network ports Vigiora Server uses, which ones must stay closed, and what to open on your firewall and router."
url: https://vigiora.com/docs/admin/ports-and-firewall
updated: 2026-11-25T11:37:01.000Z
---

# Ports and firewall

> Which network ports Vigiora Server uses, which ones must stay closed, and what to open on your firewall and router.

Vigiora Server works without opening any port on your router. Remote access goes through the Vigiora relay or the encrypted mesh by default. Opening a few ports makes remote video faster.

## Ports the server uses

| Port | Protocol | Used for | Who needs to reach it |
| --- | --- | --- | --- |
| **8080** | TCP | The web app and API on your local network (`http://<server>:8080`). | Browsers and scripts on your LAN. |
| **8443** | TCP | Public HTTPS listener for direct remote access. Your router forwards **443 → 8443**. | The internet, only if you use direct remote access. |
| **8444** | TCP | LAN-direct HTTPS at `https://lan.yourname.vigiora.com:8444`, so browsers on your LAN play recordings without going through the internet. | Browsers on your LAN. Only when LAN-direct is on. |
| **8555** | TCP and UDP | Live video over WebRTC. | LAN viewers, and remote viewers for peer-to-peer video. |
| **41641** | UDP | The mesh: direct encrypted connections to clients and remote viewers. | The internet (optional: without it the mesh is relayed and slower). |

## Ports that stay local

These listen on the server itself (`127.0.0.1`) only. Never forward or expose them:

| Port | What it is |
| --- | --- |
| **1984** | The video engine's (go2rtc) control API. |
| **8554** | The video engine's internal RTSP restream. |
| 5433 or higher | The embedded PostgreSQL database. |

> **Never expose the video engine**
>
> Port 1984 controls the video engine and must never be reachable from outside the server. If you changed its configuration by hand, check it still listens on `127.0.0.1` only.

## What the installer opens

| System | What the installer does |
| --- | --- |
| **Linux** | Allows UDP **41641** in `ufw` or `firewalld` if one is active. Also allows TCP 8080 and TCP/UDP 8555 from private IPv4 networks and from IPv6 local networks (fc00::/7 and fe80::/10). Nothing else is changed. |
| **Windows 11** (beta) | Adds Windows Firewall rules for TCP 8080, 8443, 8444 and 8555, and UDP 8555 and 41641. |
| **macOS** (beta) | Doesn't change the macOS firewall. The mesh works outbound and relays when needed. |

On Linux, if your LAN viewers can't open `http://<server>:8080`, allow it yourself, for example:

```bash
sudo ufw allow 8080/tcp
sudo ufw allow 8555
```

> **Tip**
>
> Make firewall rules by **port**, not by program. The server's program path changes with every self-update, so a per-program rule stops matching after the first update.

## Router settings for faster remote access

All of these are optional.

1. **Direct remote access**

   Forward TCP **443** to the server's port **8443**. Many routers do this automatically (UPnP): the **Remote access** card under [**Settings** → **Remote access** → **Cloud and remote access**](https://vigiora.com/docs/admin/system#remote-access-and-mesh) shows *Router port opened automatically*. Otherwise it tells you which forward to add.

2. **Peer-to-peer live video**

   Forward UDP and TCP **8555** to the server, on the same external port. Without it, video still connects peer-to-peer through most home and office routers.

3. **Faster mesh**

   Allow inbound UDP **41641** to the server.

> **Carrier NAT**
>
> Some internet connections (carrier-grade NAT, common on mobile and some fibre providers) can't accept incoming connections at all. Remote access still works through the Vigiora relay, and **Settings** → **Remote access** → **Cloud and remote access** tells you when this is the case.

Give your server a fixed address on your network (a DHCP reservation in your router) so port forwards keep pointing at it.

---

Source: https://vigiora.com/docs/admin/ports-and-firewall · Last updated 25 Nov 2026, 11:37 UTC
