Network Access
The Trilium desktop app opens a TCP port (usually 37840) for the following reasons:
- Integration with the Web Clipper.
- Desktop-to-desktop Synchronization.
- Making Trilium accessible over the web, similar to a Server Installation. See Using the desktop application as a server.
Enabling access on the LAN#
Before v0.104.0, this port was open for the entire local network. After v0.104.0 the port is open only on localhost (127.0.0.1). This prevents other devices on the same network — and websites you open in another browser on the same machine — from reaching the Trilium API. If you don't use the desktop as a sync source, remote server, you don't need to change anything.
To open the port on all networks, modify config.ini as follows:
[Network]
host=0.0.0.0