Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jekyll serve suddenly switched from localhost to 0.0.0.0 - any fix?

Tags:

jekyll

When using Jekyll command 'Jekyll serve', the local url switched from http ://localhost:4000/ to http ://0.0.0.0:4000/ - it was working fine, not sure what would have changed?

Any suggestions for getting back to the original config?

Mac OS 10.9.3, RVM Ruby 2.1.2

I've read some posts where users originally got hit with 0.0.0.0 - but my initial install was working fine.

Thanks!

like image 232
tnrt Avatar asked Jun 08 '14 16:06

tnrt


2 Answers

In _config.yml

# deployment
host: 0.0.0.0
port: 5000

This can change host and port.

like image 184
weaming Avatar answered Nov 15 '22 00:11

weaming


The default configuration changed.

Use jekyll serve --host localhost or set host: localhost in _config.yml

like image 19
bwest Avatar answered Nov 15 '22 00:11

bwest