윈도우 포트포워딩 (1) 썸네일형 리스트형 [#NPM] ngrok으로 임시 도메인 생성해 localhost에 외부 접속 허용하기 github에 올리기 전 로컬에서 작업 중인 화면을 디자이너분에게 공유하고자 포트 포워딩을 찾아보던 중 발견했다 ① ngrok 설치 npm install -g ngrok ② 접속 가능하게 할 port 설정 ngrok http 8000 -host-header="localhost:8000" django라 8000 port를 입력했다 8000 자리에 port 입력하면 된다 ex) Node + React 프로젝트일 경우 ngrok http 3000 -host-header="localhost:3000" ngrok http 5000 -host-header="localhost:5000" ③ `Forwarding` 항목에 있는 url을 ALLOWED_HOSTS에 넣어주면 된다 django는 settings.py -> .. 이전 1 다음