+ Start a Discussion
Amit Jadhav 13Amit Jadhav 13 

Kill the process running on port 1717 or use a custom connected app and update OauthLocalPort in the sfdx-project.json file.

Kill the process running on port 1717 or use a custom connected app and update OauthLocalPort in the sfdx-project.json file.
Sruthi SunderRajanSruthi SunderRajan

1.Go to the Terminal of the Visual studio and Enter the command 'sfdx force:auth:device:login' .

2. Enter ABCDD user code in the verification URL https://test.salesforce.com/setup/connect . ( enter the autogenerated code on your screen ).
3. Login successful for username@sandbox.com. You can now close the browser.

Marie Bertaud 5Marie Bertaud 5
Thank you very much Sruthi, it's works very well !
sagar bharmalsagar bharmal
Thanks Sruthi !!  it's works very well !
Radhika ChRadhika Ch
Thank you so much Sruthi.It's worked ausome.You have saved my time.
Sujeet P 9Sujeet P 9
Go to sfdx-project.json file and check the attribute sfdcLoginUrl . If you are trying to log into sandbox, make sure the attribute value is test.salesforce.com. Also verify the sourceApiVersion attribute.