-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Description
Hi all,
I am working on Ubuntu 22.04.5 and i have a docker-magento 52.1.0 project which works well on it.
I am using a Magento 2.4.7-p8 on it.
For some reasons, i had to disabled ipv6 on my computer directly in GRUB.
Since this moment when i start docker-magento, the containers are started correctly but i can't access it on the web, for my project or phpmyadmin for example.
Do you have any idea why ?
Do i have to update some configs ?
When i do :
docker logs my-app-1
i have these messages :
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: ipv6 not available
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2025/12/11 16:01:43 [emerg] 1#1: socket() [::]:8443 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:8443 failed (97: Address family not supported by protocol)
And on phpMyAdmin container i have this :
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Don't hesitate if you have any questions
Steps To Reproduce
- Get Ubuntu
- Get Docker-magento 52.1.0
- Setup the project to check that the site is working
- Disable ipv6 :
sudo nano /etc/default/grub - Replace
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
by
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1" - Update GRUB
sudo update-grub - Reboot computer
- Start Docker-magento
Expected Result
The website is working
Actual Result
The web page returns an error ERR_CONNECTION_REFUSED, and the phpMyAdmin page returns ERR_CONNECTION_RESET, ERR_EMPTY_RESPONSE and ERR_SOCKET_NOT_CONNECTED