у меня lsof -i :8000 выдает только инстанс на ipv6
http.Server{Addr: "1.1.1.1:80"} // - ip v4
Похоже вот ответ:https://unix.stackexchange.com/questions/573456/why-does-lsof-indicate-my-ipv4-socket-is-ipv6 Кратко: In Linux, IPv6 sockets may be both IPv4 and IPv6 at the same time. An IPv6 socket may also accept packets from an IPv4-mapped IPv6 address.
Обсуждают сегодня