For your library to be reachable outside your Wi-Fi (on mobile data, at someone else's place…), your router has to let connections through to your Server. It almost always does this on its own; if not, here's how.
Your files, your responsibility. The Server serves what you put in it: your videos, public domain ones or ones you have the right to use, and only to the people you give access to.
01
How the app gets there.
The app talks to your Server over https, on port 8765 (TCP), with the Server's own certificate. From outside, it reaches your router; the router has to pass it on to the Server's computer. That's called “opening a port”.
Only that port is needed. The dashboard (8766) is never opened to the outside.
On a VPS none of this is needed: it's already on the internet. See VPS mode.
02
Automatic.
When you set up the Server on “This PC”, the “Your connection” step tries to open the port on its own (with the router's “UPnP” option). It takes a few seconds.
If you see “All set: your router (…) lets connections through to port 8765 on this PC.”, you're done. Click “Continue”.
If you see “It couldn't be done automatically”, continue with the chapter below, or turn on “UPnP” on your router and click “Check again”.
The Server renews it on its own every so often. You can also check it whenever you like: right-click its icon, next to the clock, “Check the network again”.
03
Open the port by hand.
Open your router's settings: the Server gives you its address with “Copy” and “Open it”. If not, it's usually on a sticker under the router (for example 192.168.1.1).
Sign in with the router's username and password (they're usually on the same sticker).
Look for the “Port forwarding” section. It may also be called “Port redirection”, “NAT”, “NAT/PAT”, “Virtual servers” or “Applications”.
Create a new rule: external and internal port 8765, protocol TCP and, as the device, your PC's IP that the Server shows you.
Save the changes and click “Check again” in the Server.
Your PC's IP can change. If your router lets you “reserve the IP” of a device, do it for the Server's PC: look for it in the router as “DHCP”, “IP reservation”, “Static IP” or “Address allocation”. If it changes, the Server warns you and offers “Change it to the new one”.
04
CGNAT.
Some providers share your connection with other customers (it's called CGNAT). That way, your PC can't be reached from outside even if you open the port. The Server detects it and tells you: “Your provider shares your connection with other customers”.
Check it yourself: in the router, look at its “WAN IP” (or “Internet IP”). If it starts with anything from 100.64 to 100.127, or isn't the same as the one a “what's my IP” website shows you, you're behind CGNAT (or two routers).
What to do: call your provider and ask for “a public IP” (sometimes they call it a “static IP” or “taking me off CG-NAT”). Some do it for free and others charge extra. Then, in the Server, “Check again”.
If they can't: set up the Server on a VPS (VPS mode).
Two routers (the provider's and another one of yours): open port 8765 on both, or ask the provider to put theirs in “bridge” mode.
05
In this home only.
Can't open the port right now? In “Your connection”, under “Can't open it right now? Use it in this home only”, click “Use in this home only”. It works on the devices connected to your Wi-Fi, but not from outside or on mobile data.
When you fix it (the port open or the public IP), click “Check again” and, in the dashboard, in “Access passes”, open each access pass's “Configuration”, click “New code” and send them again.
06
A fixed name.
Optional, only in the full Server. With a fixed name, access passes carry that name instead of your IP: even if the IP changes, or you move the Server to another PC or to a VPS, they keep working. It's free, with DuckDNS, and the Server keeps it up to date on its own.
It's in the “Your connection” step or in the dashboard, under “Configuration”: open “Optional: a fixed name for your server…” and click “Open DuckDNS”.
Sign in with one of the accounts it offers (Google, GitHub, X or Reddit).
In “sub domain” type a name and click “add domain”. Use a neutral name that doesn't say what's there or whose it is: anyone can see it.
At the top of its page you'll see your “token” (letters and numbers with dashes): copy it.
In the Server, type the “Subdomain” (only the part before .duckdns.org) and paste the “Token”. Click “Check”. You'll see “All set: your server is now…”.
The access passes you already gave out carry the old address: give them a new code once (“Access passes” → “Configuration” → “New code”) and send them again. From then on it won't be needed.
The fixed name doesn't fix CGNAT: the port still has to be openable.