XML Viewer web part SharePoint 2013

We are trying to add a XML Viewer web part on the page  and getting error "Cannot retrieve the URL specified in the XML Link property. For more assistance, contact your site administrator." where as same setting is working fine in Moss 2007

 

Reason :

SharePoint is currently configured to block intranet calls

 

 

Solution  :

 

$farm.Properties.DisableIntranetCalls = $false
$farm.Properties.DisableIntranetCallsFromApps = $false
$farm.update()