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 :

[sourcecode]
$ Jekyll server –watch –host 0.0.0.0
[/sourcecode]

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.