Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- styled components
- git lab
- next.js css
- There isn’t anything to compare
- github
- nextjs 설치
- react typescript
- CSS
- API token
- fetch
- getModifierState
- ngrok설치
- bootstrap
- nextjs
- SCSS
- dart 변수
- 컨디셔널 렌더링
- Git
- github io
- rewrites
- npm styled-reset
- nextjs .env
- typescript react
- input type=file
- createGlobalStyle
- react
- icon
- react env
- ngrok실행
- API 토큰
Archives
- Today
- Total
꾸준히 성장하는 개발자
[ngrok] ngrok 설치 및 실행 본문
brew install ngrok
일하는 중 ngrok을 이용하게 되어 정리 진행
ngrok은 외부 인터넷 망에서 로컬서버에 접속할 수 있게 터널링 해준다
그렇기 때문에 현재 개발하는 중에 다른 팀원들과 소통을 하면서 공유가 되어야 하는 경우 이용할 수 있다
ngrok 설치 & 실행하기
먼저 어차피 authtoken을 받아서 입력을 해야 하니 먼저 회원가입을 먼저 진행하기
ngrok | API Gateway, Kubernetes Networking + Secure Tunnels
ngrok simplifies app delivery by unifying API gateway, Kubernetes Ingress, global load balancing, DDoS protection and more with secure tunnels.
ngrok.com
회원가입을 하면 아래처럼 시작하는 방법이랑 토큰을 바로 알려준다
// ngrok 설치 (맥)
brew install ngrok
// authToken 설정
ngrok config add-authtoken [발급받은 authtoken]
//실행시켜놓은 localhost 연결하기
ngrok http 3001(실행시킨 local 포트 번호)
이렇게 실행시키면 된다
그렇게 되면 위처럼 forwarding 된 url을 받을 수 있다.
그럼 이걸 이용해서 다른 외부 인터넷망에서 접속하면 내 로컬 화면을 함께 볼 수 있다
'그 외...' 카테고리의 다른 글
[error] pnpm 배포 하는데 에러 발생 (0) | 2025.03.03 |
---|---|
[ngrok] ERR_NGROK_3004 / ERR_NGROK_3200 / ngrok-skip-browser-warning (2) | 2025.02.28 |
[DataBase] 명령어 정리 (0) | 2023.05.31 |