π Network Ports Used by MOS
This page lists the network ports currently used by MOS and their purpose.
Understanding which ports are in use is important for:
- π Firewall configuration
- π Reverse proxy setups
- π§© Network segmentation
- π Troubleshooting connectivity issues
π‘ Default Portsβ
| Port | Service | Purpose |
|---|---|---|
| 80 | WebUI | Access to the MOS Web Interface |
| 998 | API | Internal and external API communication |
| 999 | Notify | System notifications and real-time events |
π Port 80 β WebUIβ
- Provides access to the MOS Web Interface
- Default HTTP access
- Intended for local network use only
The MOS WebUI is not designed to be exposed directly to the public Internet.
Do not forward port 80 on your router or firewall.
If remote access is required use a VPN connection.
Direct public exposure of the WebUI may lead to unauthorized access.
Example:
http://<mos-ip>
π Port 998 β APIβ
- Used for MOS API communication
- Required for internal services and automation
π Port 999 β Notify Serviceβ
- Handles real-time notifications
- Used for system events and UI updates
π§ Optional Portsβ
The following ports are used by optional services and are only reachable while the respective service is enabled:
| Port | Service | Purpose |
|---|---|---|
| 873 | Rsync Daemon | rsync file synchronisation server |
| 3493 | NUT | Network UPS Tools server (netserver mode) |
| 8088 | Tailscale Web UI | Tailscale management web interface |
π₯οΈ Virtual Machine Console Ports (VNC)β
When virtual machines are started in MOS, a VNC console is automatically assigned.
MOS uses incremental VNC ports starting at:
| Port | Purpose |
|---|---|
| 5900 | First VM VNC console |
| 5901 | Second VM VNC console |
| 5902 | Third VM VNC console |
| ... | +1 per additional running VM |
Each running VM receives the next available port in sequence.
π How It Worksβ
- The first started VM uses 5900
- Each additional VM increments the port by +1
- Ports are only active while the VM is running
- If a VM stops, its assigned port becomes available again
VNC ports (5900+) should not be exposed to the public Internet. Use a VPN or SSH tunnel for remote console access.
Parts of this documentation were created with the assistance of AI tools. All AI-generated content has undergone review, but it may still contain inaccuracies, omissions, or outdated information.