External requests from server not working

I’m getting an error anytime the server tries to make a remote request to the internet

ex: Migrate DB Pro plugin can’t connect to deliciousbrains.com for license activation

Trying to activate license:

Could not connect to api.deliciousbrains.com — You will not receive update notifications or be able to activate your license until this is fixed. This issue is often caused by an improperly configured SSL server (https). We recommend fixing the SSL configuration on your server, but if you need a quick fix you can: (button to try and fix problem)

**ex: Can't make JSON request in PHP**


$json = file_get_contents(‘http://ip.jsontest.com/?callback=showMyIP’);
$obj = json_decode($json);

Triggers this error:

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in (file path)

_Sorry for any bad formatting_

Sorry for the trouble!

Try going to Help » Restart Local Machine.