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
_LSDsl__LSDsl_ No route to host

Tried to use PageReference to external web site and got this No route to host. Where is problem?
I am facing the same issue, did you succeed ? How ?

Same here...Any help?


Going through a salesforce site as well....


PageReference pr = new PageReference('{actId}');

Jia HuJia Hu
I have the same case, any advice?

Guys, in all your cases you should add the site address to REMOTE SITE settings in Salesforce. Then the problem should dissapear.


Even if it sounds dummy for some of you, it helps.


Moreover in some cases you should also DISABLE PROTOCOL SECURITY.


Hopefully it solves your problems.

Esteban HerreraEsteban Herrera
You must verify the firewall rules on the server where the external website was deployed.