Hello i have a problem during Authorizing existing Sandbox via VS Code. I am using SFDX: Authorize an Org It will redirect me to Browser where i will put my credentials.

However it will redirect me to : http://localhost:1717/OauthRedirect?code=aPrxJCZZ9LWwfrAPFPjpwsStjScNnPvoX9jCrKFt7ZHDWIwPFmSoaqqiaJ6o3cdW_Cb97XjIPg%3D%3D&state=fc1ad902cf25

and it will display This page isn’t working localhost didn’t send any data. ERR_EMPTY_RESPONSE

Any idea how to fix this ? Many thanks !

  • 3
    Make sure you don't have a firewall or proxy that is interfering. This URL should work under normal circumstances. – sfdcfox Nov 5 '18 at 15:32

In my case, I deactivated the Windows Defender. Make sure that the port specification in the archive sfdx-project.json in your project doesn't have a port property or is different to 1717. Also, verify that the port 1717 is free using the command:

netstat -ano | findstr 1717 

If this port is in use so kill it


Check and get your proxy settings. Set your proxy in the windows Environment local variable for "HTTP_PROXY" and "HTTPS_PROXY". You may need to log off your machine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.