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
SFDC ROCKSFDC ROCK 

"suken--crmdev1.cs97.my.salesforce.com refused to connect."

It is shwing error "suken--crmdev1.cs97.my.salesforce.com refused to connect."

can we do any changes in code ?
<apex:page>
  
  <script type="text/javascript">
  var one = true;
  var window;
  
window.onload = function() {

if(one == true) {
 var Id= "{!$CurrentPage.Parameters.Id}";                    

var newwindow = window.open('/apex/managed_package_visualforce_page1?Id='+Id,target="_self");
  newwindow.focus(); 
  
if(newwindow != '' && newwindow != null){
var newwindow1 = window.open('/apex/managed_package_visualforce_page1?Id='+Id, '_self');
newwindow1.focus(); 
}
one = false;
}  
};
</script>  
</apex:page>