I have installed VS code and Salesforce CLI in my system.Now when I try to Authorize an Org using SFDC:Authorize an Org, It take me to the login page and also logs in and redirects to localhost:1717.
I get the below error
This page isn’t working localhost didn’t send any data. ERR_EMPTY_RESPONSE
And the Url has this: http://localhost:1717/OauthRedirect?code=aPrxeoyeTpu7VD8TU5.MiH8R70GBrrinzlZHNm4qsQVi8SNWqfbyMGt33D.8taJ4_dX1cMu6JQ%3D%3D&state=e4365ba68ae7
I have tried to check if the port 1717 is free or used. Its free. Tried using personal network still same issue.
Please help me in getting this resolved.
Thanks, sfdcdev
sfdx update
as suggested by sfdcfox in this question.