About ipv6 requirements #7340
-
Describe featureMy native language is not English, I do not understand English, the following content is machine translation, please forgive me. cat /etc/resolv.conf#Generated by dhcpcd from br0.dhcp6, br0.ra cat /etc/hosts127.0.0.1 localhost cat /etc/sysctl.conf#Do not accept ICMP redirects (prevent MITM attacks) If you need to change that configuration file, please let me know. Thank you Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I found a question posted by thinkinnight in 2022. But I don't know where the module is. module. exports = process.env.TRILIUM_HOST || config['Network']['host'] || '0.0.0.0'; |
Beta Was this translation helpful? Give feedback.
-
|
Hi @SQM-fuleiya! I'm Dosu and I’m helping the Trilium team. The code that sets the host binding in Trilium is in apps/server/src/services/host.ts and apps/server/src/services/config.ts. To make Trilium listen on IPv6, set the environment variable TRILIUM_HOST or TRILIUM_NETWORK_HOST to ::, or set host=:: in the [Network] section of your config.ini. This will bind Trilium to all IPv6 interfaces (and possibly IPv4, depending on your system). If IPv6 still doesn't work, check your Docker and host network settings. You can see the relevant code and more details here and here. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Hi @SQM-fuleiya! I'm Dosu and I’m helping the Trilium team.
The code that sets the host binding in Trilium is in apps/server/src/services/host.ts and apps/server/src/services/config.ts. To make Trilium listen on IPv6, set the environment variable TRILIUM_HOST or TRILIUM_NETWORK_HOST to ::, or set host=:: in the [Network] section of your config.ini. This will bind Trilium to all IPv6 interfaces (and possibly IPv4, depending on your system). If IPv6 still doesn't work, check your Docker and host network settings. You can see the relevant code and more details here and here.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other…