1. The problem I’m having:
I’ve installed Jellyfin along with Caddy reverse-proxy on my home computer. Everything works fine, from both inside the network and externally, UNTIL I enable my NordVPN. After I enable NordVPN, no external connections come through. Additionally, the caddy server will NOT start if the VPN is turned on when I try to start it. I get an error.
Thank you in advance for your input. I’m not 100 up on networking, so I’m trying to fumble through this & learn what I can!
2. Error messages and/or full log output:
When VPN is disabled, all runs fine. If I turn on VPN, and then try running caddy, I get the following:
2023/06/14 18:14:26.518 ←[34mINFO←[0m using provided configuration {“config_file”: “Caddyfile”, “config_adapter”: “”}
2023/06/14 18:14:26.525 ←[34mINFO←[0m admin admin endpoint started {“address”: “localhost:2019”, “enforce_origin”: false, “origins”: [“//localhost:2019”, “//[::1]:2019”, “//127.0.0.1:2019”]}
2023/06/14 18:14:26.525 ←[34mINFO←[0m tls.cache.maintenance started background certificate maintenance {“cache”: “0xc0002fc000”}
2023/06/14 18:14:26.525 ←[34mINFO←[0m http server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {“server_name”: “srv0”, “https_port”: 443}
2023/06/14 18:14:26.527 ←[34mINFO←[0m http enabling automatic HTTP->HTTPS redirects {“server_name”: “srv0”}
2023/06/14 18:14:26.528 ←[34mINFO←[0m tls cleaning storage unit {“description”: “FileStorage:C:\Users\Me\AppData\Roaming\Caddy”}
2023/06/14 18:14:26.529 ←[34mINFO←[0m http enabling HTTP/3 listener {“addr”: “:443”}
2023/06/14 18:14:26.530 ←[34mINFO←[0m tls.cache.maintenance stopped background certificate maintenance {“cache”: “0xc0002fc000”}
Error: loading initial config: loading new config: http app module: start: listen udp :443: bind: The requested address is not valid in its context.
3. Caddy version:
v2.6.4.
4. How I installed and ran Caddy:
No install. Copied downloaded exe to c:\caddy folder. Run it using caddy run --config Caddyfile
a. System environment:
Windows 10 Pro
b. Command:
caddy run --config Caddyfile
d. My complete Caddy config:
mydnssite.duckdns.org {
reverse_proxy 192.168.68.101:9110
tls {
dns duckdns mykey
}
}