← LOG/LINUX/ENTRY N° 111

Access Jekyll server running inside vagrant box

FILED
READ
1 MIN
CATEGORY
LINUX
TAGS
[SOLVED] · LINUX · VAGRANT

By default Jekyll listens for request coming from localhost only.

We have to configure Jekyll to accept incoming requests outside of localhost.

Use command provided below to start Jekyll server :

$ Jekyll server –watch –host 0.0.0.0  

The trick here is to use –host 0.0.0.0 which tell Jekyll to accept all incoming connections.

Hope this helps someone hours of headbanging.

■ END OF ENTRY 111