function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

network issue on webservices

Hi to everyone,

i am trying to get a response from webservices. but i can't get response.

i am getting the following error..



ERROR The requested URL could not be retrieved

While trying to retrieve the URL

The following error was encountered:

  • Connection to Failed

The system returned:

 (101) Network is unreachable

The remote host or network may be down. Please try the request again.


I am thinking that it's a firewall issue, and can somebody help me out with solution.


thank you




Have you entered the site details in the remote site settings page? Salesforce tries to block the sites which are not defined under remote site settings page.


To access the page, click Setup | Security Controls | Remote Site Settings. This page displays a list of any remote sites already registered and provides additional information about each site, including remote site name and URL. You can register new sites from here.


Hope this helps.

prathap raoprathap rao

I am having a little clue on this issue 


Make sure that your external Webservice that you are trying to hit is accessible to salesforce.


Simple test: Try to hit the webservice Url from your home network or Iphone and not from your company Intra Network.


If the webservice is reachable then there should be some other issue.