-
-
Notifications
You must be signed in to change notification settings - Fork 393
hledger-web cannot serve on 0.0.0.0 #2099
Copy link
Copy link
Closed
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.webThe hledger-web tool.The hledger-web tool.
Description
Metadata
Metadata
Assignees
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.webThe hledger-web tool.The hledger-web tool.
If I run
hledger-web --serve --host 0.0.0.0on my Raspberry Pi to expose web-hledger on all interfaces (in my case WiFi and VPN), some things break:Most notably, opening
192.168.1.<Pi>:5000redirects to0.0.0.0:5000/journal.Navigating to the journal directly does not help, since it still tries to load additional resources from
0.0.0.0- the browser console is flooded withFailed to load resource: net::ERR_CONNECTION_REFUSED 0.0.0.0:5000/<resource>.