Skip to main content

Debian Server - Listening on IPv4 and IPv6

Listening on IPv4 and IPv6 (Debian server)

Written by Petr Pech

Do I need to configure anything?

By default, no changes are necessary.

Debian listens on IPv6 (tcp6) by default, whereby:
👉 this socket also handles IPv4 connections


What this means in practice

  • a service running on tcp6 is accessible:

    • via IPv6

    • and via IPv4

👉 there is no need to configure IPv4 and IPv6 separately

Did this answer your question?