Loading

Localhost refused to connect when connecting IDX workbench to some orgs

Date de publication: May 15, 2024
Description

Steps to reproduce: 

  1. "+ New Environment" on Alpha IDX Workbench application.
  2. Add the Organization Type by clicking on the "+" icon.
  3. Enter the login URL and click on OK.
  4. Select the login URL you just entered from the dropdown list of Organization Type. This will redirect you to the login page in a browser.
  5. Enter the correct login credentials (Username & Password).
  6. In some cases, you will be receiving a localhost error as shown below.
Résolution

Issue Resolution:

  1. This issue happens when the URL used is the Salesforce org URL but not the Domain URL.
  2. To resolve this please change the login URL to the domain URL as shown below:
    • Wrong login URL format for IDX connection - https://unique_org_name.lightning.force.com
    • Correct login URL format for IDX connection - https://unique_org_name.my.salesforce.com
  3. You can also find the correct login URL in your org. Navigate to Setup > Home > My Domain > Current My Domain URL.
  4. Once the login URL is changed repeat the steps mentioned to connect an org using the changed URL. The org will be connected as expected.

 

Numéro d’article de la base de connaissances

001667650

 
Chargement
Salesforce Help | Article