2015-01-21 3 views
0

에서 작동하지 않습니다. 포트 : 4000에 내장 된 Jekyll 개발 서버를 사용하고 있습니다. 또한 해당 Jekyll 사이트가 Safari 모바일 브라우저에 나타나지 않습니다.지킬 서버는 <a href="https://creative.adobe.com/products/inspect" rel="nofollow">Adobe edge inspector</a>를 사용하여 <a href="http://jekyllrb.com/" rel="nofollow">Jekyll</a> 사이트를 보려고 할 때 현재 오류를 수신하고있어 모바일 브라우저

는 Heres는 내가 서버를 시작하는 방법

jekyll serve --watch 

여기가

Generating...      done. 
Auto-regeneration: enabled for '/Users/auser/Sites/user.me/code' 
Configuration file: /Users/auser/Sites/user.me/code/_config.yml 
Server address: http://127.0.0.1:4000/ 
Server running... press ctrl-c to stop. 

가 어떻게이 내 모바일 브라우저에서 작동하도록 얻을 수있는 출력입니까? 당신이 출력에서 ​​관찰 할 수 있듯이

답변

4

은 (Server address: http://127.0.0.1:4000/), 지킬 유일한 대답은 로컬 컴퓨터에서 오는 요청합니다.

-H 옵션을 사용하여 모든 adresses에 지킬 답변을 확인하십시오. jekyll serve --help에서 :

-H, --host [HOST] Host to bind to 

사용을 다음과 같이

jekyll serve --watch -H 0.0.0.0