[Help]: How ot config Web-UI variant to accept connections from LAN? #786
Replies: 1 comment
-
|
Hi! It depends on how you're running the Web UI: Running with Docker (recommended): It already listens on all interfaces. the container binds to 0.0.0.0:8080 and docker-compose.yml publishes 8080:8080 on the host. So from another machine just browse to http://:8080 (e.g. http://192.168.1.50:8080), not localhost. If that doesn't connect, it's almost always the host firewall - open port 8080, e.g.:
Running directly (dotnet run, no Docker): Kestrel binds to localhost only by default. Tell it to listen on all interfaces with the ASPNETCORE_URLS environment variable:
One important note: once it's reachable on the LAN, make sure authentication is on. Auth is enabled by default; if you're in Docker, set a password via the VDF_WEB_PASSWORD env var (otherwise one is auto-generated - check the container logs with docker logs). Don't set VDF_WEB_AUTH=false on a shared network. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Operating System
Linux
VDF variant
Web UI
Question
In Web UI variant, how to access from other computer in the same LAN? Now localhost can access successfully, how to config it to accept connection from LAN?
Snapshots
No response
Beta Was this translation helpful? Give feedback.
All reactions