Today I updated the OS on a Linux machine running several cases of “tiddlywiki […] --listen”. It now fails, in an odd way:
The instances of the tiddlywiki script do run, they appear to be waiting for input, but their log suggests IPv6 instead of IPv4.
nginx hasn’t been changed. When we connect from a browser, we get the “bad gateway” message. The nginx log shows that traffic is being passed along, as expected, but failing.
Where the tiddlywiki instance runs, its output has changed. Currently we see, for example:
Serving on http://::1:8083
(press ctrl-C to exit)
…but that “::1:” part is new; what I expect was something like:
Serving on http://127.0.0.1:8083
That makes me think that something, somewhere, is switching from using IPv4 to IPv6, and that’s why traffic is being dropped. It seems like the “something”, here, is on the back end of the tiddlywiki script; some underpinning of NodeJS I’m guessing, but I’m stumped.
For what it’s worth: reading “tiddlywiki --help listen”, I thought I might be able to tweak the script somehow to deal with this, but any change I’ve tried for the “port=” or “host=” options has only caused the script to fall back to listening under “:8080”. I don’t find any way to force the switch to IPv6.
Any hints?
Thanks.