Jekyll: Address in use

Created on 9 Oct 2020  ·  3Comments  ·  Source: jekyll/jekyll

Screen Shot 2020-10-08 at 9 14 05 PM

Screen Shot 2020-10-08 at 9 15 16 PM

Screen Shot 2020-10-08 at 9 15 52 PM

Please help me solve this error. I tried all the possible ways to solve it but failed.

support

Most helpful comment

Make sure you don't have already a running process on port 4000 on your machine.
You can run jekyll on a different port if needed, e.g: bundle exec jekyll serve --port 8080

All 3 comments

Make sure you don't have already a running process on port 4000 on your machine.
You can run jekyll on a different port if needed, e.g: bundle exec jekyll serve --port 8080

I have a working proof-of-concept at #7961 that issues a warning when you have a server already running..
Since your site is already using Jekyll 4.1.1, you can test it out (if you want to) by pointing your Gemfile to that pull request:

# Gemfile

gem "jekyll", github: "jekyll/jekyll", ref: "refs/pull/7961/head"

Make sure you don't have already a running process on port 4000 on your machine.
You can run jekyll on a different port if needed, e.g: bundle exec jekyll serve --port 8080

It worked. Thank you very much. Appreciate you!!

Was this page helpful?
0 / 5 - 0 ratings