Skip to content

Build your personal knowledge base with Trilium Notes

fix(web-clipper): state the desktop port the extension actually tries

Elian Doranacf619cd0b8a
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html
index e4fe883fbc..f85831451c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html
@@ -59,7 +59,11 @@
</aside>
<h2>Configuration</h2>
<p>The extension needs to connect to a running Trilium instance. By default,
- it scans a port range on the local computer to find a desktop Trilium instance.</p>
+ it looks for the desktop application on port 37840 of the local computer.
+ If the desktop application runs on a different port (for example because
+ it was started with the <code>TRILIUM_PORT</code> environment variable),
+ enter that port in the extension's options. The extension checks for Trilium
+ again every minute, or right away when pressing <em>check</em> in its popup.</p>
<p>It's also possible to configure the <a href="#root/_help_WOcw2SLH6tbX">server</a> address
if you don't run the desktop application, or want it to work without the
desktop application running.</p>
diff --git a/apps/web-clipper/entrypoints/options/index.html b/apps/web-clipper/entrypoints/options/index.html
index 0fb2adab95..ba9d40ef3c 100644
--- a/apps/web-clipper/entrypoints/options/index.html
+++ b/apps/web-clipper/entrypoints/options/index.html
@@ -13,7 +13,7 @@
<h2>Trilium desktop instance</h2>
-<p>Web clipper by default tries to find a running desktop instance on port 37740. If you configured your Trilium desktop app to run on a different port, you can specify it here (otherwise keep it empty).</p>
+<p>Web clipper by default tries to find a running desktop instance on port 37840. If you configured your Trilium desktop app to run on a different port (for example with the <code>TRILIUM_PORT</code> environment variable), you can specify it here (otherwise keep it empty).</p>
<form id="trilium-desktop-setup-form">
<p>
diff --git a/docs/User Guide/User Guide/Installation & Setup/Web Clipper.md b/docs/User Guide/User Guide/Installation & Setup/Web Clipper.md
index 9aa6711a86..74c9dba201 100644
--- a/docs/User Guide/User Guide/Installation & Setup/Web Clipper.md
+++ b/docs/User Guide/User Guide/Installation & Setup/Web Clipper.md
@@ -52,7 +52,7 @@ To set custom shortcuts, follow the directions for your browser.
## Configuration
-The extension needs to connect to a running Trilium instance. By default, it scans a port range on the local computer to find a desktop Trilium instance.
+The extension needs to connect to a running Trilium instance. By default, it looks for the desktop application on port 37840 of the local computer. If the desktop application runs on a different port (for example because it was started with the `TRILIUM_PORT` environment variable), enter that port in the extension's options. The extension checks for Trilium again every minute, or right away when pressing _check_ in its popup.
It's also possible to configure the [server](Server%20Installation.md) address if you don't run the desktop application, or want it to work without the desktop application running.