Firewall setup¶
Allowing connections¶
To connect from other devices on your network, you may need to allow the UNI server port through your firewall. Follow the instructions for your operating system:
- Open the Start menu
- Type
powershell, right-click "Windows PowerShell", select "Run as administrator" - Paste the following and press Enter:
New-NetFirewallRule -DisplayName "UNI" -Direction Inbound -Protocol TCP -LocalPort 6001 -Action Allow -Profile Private
Usually works out of the box. If not, check System Settings → Network → Firewall and make sure incoming connections aren't blocked.
Allow TCP 6001 from your local subnet in ufw, firewalld, iptables, or nftables.
Custom port¶
You can change the port with uni server up --port 1337. Valid range: 1024–65535.
Change the firewall rule accordingly.
Troubleshooting¶
If you still can't connect from another device:
- Check if both devices are on the same network
- Disable any VPN that might be interfering