Hi team, Show After installing the plugin I get the error below: Warning: PHP Startup: php_network_getaddresses: getaddrinfo failed: Name or service not known in /wp-content/plugins/waterwoo-pdf/inc/tcpdi/tcpdi.php on line 112 Warning: PHP Startup: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /wp-content/plugins/waterwoo-pdf/inc/tcpdi/tcpdi.php on line 112 I have checked all settings and everythings is as per documentation but still not working. Any idea? Many thanks
Having this same problem with CentOS 8...
"getaddrinfo failed: Name or service not known" can have many different reasons, non only a closed port. Very frequent mistakes are malformed addresses in the function, e.g. "htp://" instead of "http://" or "http:// myaddress.com" instead of
"http://myaddress.com" etc. First thing to check is whether a correct address is used. Adding localhost as a nameserver only makes sense if there is actually a nameserver running on the machine and it can deliver the data that is requested. I think having localhost as the only nameserver in /etc/resolv is a bad
idea. CommentsDescription:mysql, redis This problem occurs under the debug of phpstorm. This problem does not occur directly in the browser or postman. I want to know what causes it. errorredis Project configuration file .env REDIS_HOST=reids REDIS_PASSWORD=null REDIS_PORT=6379 mysql DB_HOST=mysql DB_PORT=3306 DB_DATABASE=campaign DB_USERNAME=root DB_PASSWORD=root docker fo mac check container working first. Ref #2507 Probably typo:
@metalcamp Not the problem, the configuration is wrong @pizsd: Is your redis service (in docker-compose.yml) also named reids? I'm getting this error too.
when i run tests from phpstorm I'm getting this. But i didn't get this when i run from terminal like My project .env
laradock .env
docker-compose.yml
My Solution: PhpStorm->Preferences->Languages & Frameworks->PHP->Test Frameworks Add PHPUnit by Remote Interpreter Select Docker interpreter After created you should add link ( Links section ) which one do u want to use ( mysql, redis) to docker container (click Browse in docker container section) And if you know which network is using in docker container you should
write name of network ( But if you don’t know which network is using . First you should remove all unused networks ( Hi 👋 this issue has been automatically marked as
Hi again 👋 we would like to inform you that this issue has been automatically
changing Network mode from bridge to docker internal network fixed my problem In my case error was misleading. You have to run commands from docker container eg docker-compose exec containerName (app) php (serviceName) bin/console doctrine:migrations:migrate (service command). |