Skip to main content

Debian Server - Listening on IPv4 and IPv6

Listening on IPv4 and IPv6 (Debian server)

Written by Petr Pech

Is any configuration needed?

By default, no changes are necessary.

Debian listens on IPv6 (tcp6) by default, where:
👉 this socket also handles IPv4 connections at the same time


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?