The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

500 - php_network_getaddresses: getaddrinfo failed: Name or service not known

Discussion in 'CloudLinux' started by ASTRAPI, Oct 9, 2014.

  1. ASTRAPI

    ASTRAPI Well-Known Member

    Joined:
    Jul 8, 2008
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    On a dedicated server Cpanel and Cloudlinux mod_lsapi with Joomla when i go to a link:

    Code:
    http://www.mydomain.com/index.php?option=com_jmap&view=sitemap&format=images
    i am getting this:


    Code:
    500 - php_network_getaddresses: getaddrinfo failed: Name or service not known
    From Joomla they told me:

    The error is related to php function for file open, php_network_getaddresses...

    basically the software needs to open a fsockopen to the same server
    sometimes loopback connections are not allowed and maybe this is the problem...

    Any ideas how to fix this?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Does it make a difference if you update your resolvers in /etc/resolv.conf to public resolvers? EX:

    nameserver 8.8.8.8
    nameserver 8.8.4.4

    Thank you.
     
Loading...
Similar Threads - 500 php_network_getaddresses getaddrinfo
  1. rahnev
    Replies:
    3
    Views:
    577

Share This Page