뚜벅이

[Salesforce/WINDOW] Authorize하다 뜨는 1717 에러 빠르게 잡는법 본문

세일즈포스

[Salesforce/WINDOW] Authorize하다 뜨는 1717 에러 빠르게 잡는법

ZZM 2024. 1. 31. 16:28

평화로운 세일즈포스 개발자의 하루 시작을 방해하는 에러가 있다. 

Authorize Org 돌릴때 가끔씩 뜨는 1717 에러이다.

Starting SFDX: Authorize an Org

16:12:53.952 sfdx org:login:web --alias vscodeOrg --instance-url https://login.salesforce.com --set-default
Warning: Ignoring extra certs from `null`, load failed: error:80000002:system library::No such file or directory
 »   Warning: @salesforce/cli update available from 2.22.7 to 2.25.7.
Error (1): Cannot start the OAuth redirect server on port 1717.

Try this:

Kill the process running on port 1717 or use a custom connected app and update OauthLocalPort in the sfdx-project.json file.
16:12:57.288 sfdx org:login:web --alias vscodeOrg --instance-url https://login.salesforce.com --set-default
 ended with exit code 1
 
 

 

kill 하라고 해서 cmd 의 

netstat -ano 까서 보니 PID 도 불명확하게 나오는 상황이었다.  

분명 1717 포트를 먹고있는 무언가는 있는데, 그게 확인이 안되어서 

taskkill 도 못쓰는 상황일때??? 

TCP VIEW 를  사용하시라.  

다운로드 링크 :   https://learn.microsoft.com/ko-kr/sysinternals/downloads/tcpview

다운받아서 실행한 뒤에 >  1717 검색해서 뜨는것 우클릭 - kill process 해주면 해결이다. 

나의경우 이번에 그 정체알수없던 1717을 붙잡은 프로세스는  node  였었다. 시원하게 강종 시켜주었다. 

 

결론 : 윈도우 프로그램 TCPView 와 함께한다면,  1717 에러 메시지에 스트레스를 덜 받게 될 것입니다!!