Check host file which like this
## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost
-
This solved the problem for me! After hours of search, I found that the /etc/hosts file on my mac was empty! After you change the file on the mac, run sudo killall -HUP mDNSResponder for the changed to take effect!
-
It solved my problem, thanks! – Konrad G Dec 13 '18 at 15:35
/etc/hosts 파일 수정 "255.255.255.255 도메인"등록하고
sudo /etc/init.d/networking restart 다시 메모리에 올려놓기 위해서 데몬 실행
[데몬실행출처] https://storycompiler.tistory.com/118
[Ubuntu/Linux] /etc/hosts의 모든 것
브라우저에 도메인 이름을 치면, 네임서버를 거쳐 도메인 이름은 IP 주소로 변환이 됩니다. 그렇다면 브라우저에 "localhost"를 치면, "localhost"도 네임서버를 통해 IP 주소로 변환되는 것일까요? 레드헷/우분투..
storycompiler.tistory.com
모두 열어줄 때는
255.255.255.255 broadcasthost
추가! 만능...?
https://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_hosts_%ED%8C%8C%EC%9D%BC
리눅스 hosts 파일 - 제타위키
zetawiki.com
'Others > NODE.JS' 카테고리의 다른 글
Unhandled rejection Error: EACCES: permission denied (npm install) (0) | 2019.07.28 |
---|---|
[번역] TypeScript로 NPM 모듈을 만들어 배포하기 (0) | 2018.12.26 |
npm 명령어 (0) | 2018.12.26 |
node.js express에서 CORS 허용하기 (0) | 2018.12.24 |
Session (세션) (0) | 2017.10.16 |