ubuntu ngrok 설치
ngrok
: 로컬 컴퓨터의 개발 환경을 인터넷으로 공유해주는 툴
: 로컬에서만 접속 가능한 개발 환경의 URL을 만들어줌으로써 외부에서 해당 환경에 접속할 수 있도록 도움
: 안전한 터널을 통해 NAT와 방화벽 뒤에있는 로컬서버를 인터넷에 노출 시켜줌
: 포트포워딩과 같은 네트워크 환경 설정 변경 없이 실행중인 서버를 안전하게 외부에서 접근할 수 있음
ngrok 설치 및 기본 적인 사용방법
1. ngrok 실행파일 설치
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
2. 압축해제를 위한 unzip 설치
sudo apt install unzip
3. 실행파일 압축 해제
unzip ngrok-stable-linux-amd64.zip
4. ngrok 정상 설치 확인을 위한 실행
./ngrok
5. 해당 개발환경에 대한 접근을 열기위해 http 8000번 포트에 대한 URL 생성
./ngrok http 8000
: 생성된 url을 복붙하여 브라우저 등의 클라이언트로 접속
공식문서
https://ngrok.com/docs/getting-started
Getting Started | ngrok Documentation
Getting Started with ngrok This guide will get you up and running with the ngrok agent, giving you a secure way to access your local service from anywhere in the world. We'll do this in four steps: Starting a local service Installing the ngrok agent Connec
ngrok.com