fetal: unable to access 'https://~~~' : Failed to connect to github.com port 443: Connection timed out
해당 에러는 git 명령을 실행할 때 Github에 연결할 수 없음을 나타낸다.
1. proxy 설정 확인
git config --global http.proxy
아무런 출력이 없다면 이는 전역 설정에 http.proxy 항목이 설정되어 있지 않음을 의미함.
2. proxy 서버:포트 확인
>>> echo $http_proxy
http://프록시서버:포트
3. http.proxy 설정 추가
git config --global http.proxy http://프록시서버:포트
3. proxy 설정 확인
git config --global http.proxy
다시 설정을 확인해보면 이번엔 "http://프록시서버:포트"가 뜨는 걸 확인할 수 있다.
+
proxy 설정 제거하기
git config --global --unset http.proxy
'개발' 카테고리의 다른 글
\\n (0) | 2024.08.25 |
---|---|
[git clone 에러] git clone received http code 403 from proxy after connect 에러 해결 (0) | 2024.03.26 |
[JupyterLab] 주피터랩에 anaconda 가상환경 연결하기 (0) | 2024.02.08 |
[FastAPI] HTTP Request를 사용하는 두 가지 방법 (0) | 2023.07.18 |
FastAPI 공식문서 내용 정리 (0) | 2023.07.17 |