From e34ed02b5b19119069e46a776584a9f4f78831b2 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Sat, 12 Sep 2026 17:46:49 +0200 Subject: [PATCH] Document that :inet6 also listens on IPv4 on Linux. --- lib/plug/cowboy.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/plug/cowboy.ex b/lib/plug/cowboy.ex index f7a6270..0c06b2d 100644 --- a/lib/plug/cowboy.ex +++ b/lib/plug/cowboy.ex @@ -4,7 +4,8 @@ defmodule Plug.Cowboy do ## Options - * `:net` - if using `:inet` (IPv4 only, the default) or `:inet6` (IPv6). + * `:net` - if using `:inet` (IPv4 only, the default) + or `:inet6` (IPv6, also listens on IPv4 on Linux by default). * `:ip` - the IP to bind the server to. Must be one of: