docs(admin/environments): Prefer IPv6 over IPv4 for apache2 listener directive (#628)

Signed-off-by: Lothar Serra Mari <mail@serra.me>
This commit is contained in:
Lothar Serra Mari 2025-06-09 14:56:30 +02:00 committed by GitHub
parent 372b797f64
commit ad09f82c3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,6 +120,14 @@ Make sure to add a separate configuration file for the listener on port 3001:
```text ```text
# /etc/httpd/conf.d/listener-3001.conf # /etc/httpd/conf.d/listener-3001.conf
Listen [::1]:3001
```
In case you are running an IPv4-only system, use the following configuration instead:
```text
# /etc/httpd/conf.d/listener-3001.conf
Listen 127.0.0.1:3001 Listen 127.0.0.1:3001
``` ```