Using the desktop application as a server
Sometimes, setting up a dedicated server installation is not feasible. The desktop application ships with a fully functional server instance by default.
You can access this web interface locally by navigating to http://localhost:37840/login.
Mobile interface#
By default, this will display the desktop user interface, even on mobile. To switch to the mobile version, simply go to the Global menu and select “Switch to the mobile version”.
Allowing the port externally on Windows with Windows Defender Firewall#
First, find out the IP of your desktop server by running ipconfig in your local terminal. Then try accessing http://<ip>:37840/login on another device. If it doesn't work, then most likely the port is blocked by your operating system's firewall.
If you use Windows Defender Firewall:
- Go to Windows's start menu and look for “Windows Defender Firewall with Advanced Security”.
- Go to “Inbound Rules” on the left tree, and select “New Rule” in the “Actions” sidebar on the right.
- Select “Port” and press “Next”.
- Type in
37840in the “Specific local ports” section and then press “Next”. - Leave “Allow the connection” checked and press “Next”.
- Configure the networks to apply to (check all if unsure) and then press “Next”.
- Add an appropriate name to the rule (e.g. “Trilium Notes”) and press “Finish”.