What is the difference between 0.0.0.0, 127.0.0.1 and localhost?
问题 I am using Jekyll and Vagrant on my mac. I found that Jekyll server will bind to 0.0.0.0:4000 instead of 127.0.0.1:4000 . Also gem server will bind to this address by default. I can still visit it via http://localhost:port . But for Jekyll , it seems that the default setting (e.g. 0.0.0.0:4000) requires Internet access. I cannot run Jekyll server without Internet. Is it a small bug? I also use Vagrant . I have set port forwarding(8080 => 4000) in Vagrantfile, since I install Jekyll in Vagrant