Access Jekyll server running inside vagrant box

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.

Leave a Reply

Your email address will not be published. Required fields are marked *