What can you do when Jekyll tells you that the Address is already in use?

Jekyll 'Address already in use', serve on different port.

If Jekyll gives you this message:

Error:  Address already in use - bind(2) for 127.0.0.1:4000

You can serve your jekyll website on a different port with this command:

bundle exec jekyll serve --port=4001
Written by Loek van den Ouweland on 2020-10-06.
Questions regarding this artice? You can send them to the address below.