Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Caddy port (caddy-2.11.4) doesn't bind on ipv6 interfaces
To:
pvpdm email <pvpdmail@gmail.com>
Cc:
ports@openbsd.org
Date:
Mon, 12 Oct 2026 16:24:50 +0100

Download raw body.

Thread
On 2026/10/12 02:57, pvpdm email wrote:
> Hello OpenBSD ports team,
> 
> I am using caddy-2.11.4 to act as a simple http server and reverse proxy for some services in
> my home network.
> 
> I have both IPv4 and IPv6 support from my ISP and I have enabled IPv6 on on the OpenBSD
> machine. My issue is that caddy refuses to bind to any IPv6 interface/address. If I try to
> bind, for example, port 443 with nc it listens on it just fine. I tried binding a static
> response with `bind [::]` on port 8888, but it still refuses to bind.

go is a bit broken with OS that don't allow v6 family sockets to accept
v4 connections.

caddy allows specifying the address family, so try specifically binding
with "tcp4/0.0.0.0" and "tcp6/[::]".