Infrastructure
로컬서버 https로 포워딩하기 (ngrok 이용)
RuTel
2022. 3. 15. 17:45
728x90
1. 설치
https://dashboard.ngrok.com/get-started/setup
ngrok - secure introspectable tunnels to localhost
dashboard.ngrok.com
2. 인증토큰 확인
https://dashboard.ngrok.com/get-started/your-authtoken
ngrok - secure introspectable tunnels to localhost
dashboard.ngrok.com
3. ngrok 에이전트 인증 (첫 한번만 필요, Authtoken은 기본 구성 파일에 저장됨)
ngrok 다운로드 폴더로 이동 후
$ ./ngrok authtoken [토큰번호]
4. ngrok 실행
$ ./ngrok http [PORT번호]
잠시 후 ngrok이 실행되면,
아래와 비슷한 https로 시작하는 포워딩 주소를 열어 확인하면 됩니다.
https://6eda-231-229-250-184.ngrok.io