Jekyll Blogging on Chromebooks

Jekyll Blogging on Chromebooks

The simple solution:

Tweak your jekyll serve command:

$ bundle exec jekyll serve --host $(hostname -I)

Then point Chrome to this address:



I’m glad you asked! This is a good opportunity to learn a bit more about how ChromeOS works under the hood.

Maybe you followed the Quickstart Jekyll Guide (or a similar routine) without any issues, but got stuck when trying to view the site in the Chrome browser.

By default, jekyll serve starts the server on However, the Chrome browser and the Linux Terminal are basically running on different machines. Chrome does not know about localhost on the Linux Terminal.

In order for the two to communicate with one another, we have to go through an acceptable channel. Ater Chrostini 69.0.3486.0 the following method for resolving Linux container hostnames was introduced for the browser. These follow the pattern:


This means the problem can be solved by hosting the Jekyll server on a hostname and port the browser can listen on.

On my machine:

$ hostname
$ hostname -I

When we run jekyll serve on this host: --host $(hostname -I) and the default port, we can point the Chrome browser to http://penguin.linux.test:4000 and resolve to the Jekyll server!