Welcome to the OZONE Asylum FAQWiki!
Frequently Asked Questions
Server Side Coding
PHP
What does the error 'php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution' mean?

Solution for your problem (problem was php_network_getaddress: getaddrinfo failed ) by aniket Differences Pages that link to <a href="https://ozoneasylum.com/backlink?for=27707" title="Pages that link to Solution for your problem (problem was php_network_getaddress: getaddrinfo failed ) by aniket Differences" rel="nofollow" >Solution for your problem (problem was php_network_getaddress: getaddrinfo failed ) by aniket Differences\

+Hi

-
+

+I had this problem couple of days back when i changed my old server with new one.

+

+problem was php_network_getaddress: getaddrinfo failed.

+

+This can be resolved by addin following entry in your hosts file

+

+127.0.0.1 yourdomainname:80

+

+

+you can replace yournamedomain for eg. aniketmehta.com or anything else and port num on which your webserver is receiving requests for your domain name

+

+typical path for hosts file on windows is

+

+C:\WINDOWS\system32\drivers\etc

+

+add above entry and problem will be resolved.

+

+This can be bug in php since i was setting this up on windows server with dns installed on this server. But php was not able to find it by default.

+

+Hope this help someone else like me.

+

+Thanks

+aniket
+

+(Created by aniketmehta on 03-30-2006 09:42)

« BackwardsOnwards »

Show Forum Drop Down Menu