Question

while installing jykell i got this error. jekyll 3.3.1 | Error: Cannot assign requested address - bind(2) for 203.0.113.0:4000

aditya@aditya:~/www$ jekyll serve --host=203.0.113.0 Configuration file: /home/aditya/www/_config.yml Configuration file: /home/aditya/www/_config.yml Source: /home/aditya/www Destination: /home/aditya/www/_site Incremental build: disabled. Enable with --incremental Generating… done in 0.24 seconds. Auto-regeneration: enabled for ‘/home/aditya/www’ Configuration file: /home/aditya/www/_config.yml jekyll 3.3.1 | Error: Cannot assign requested address - bind(2) for 203.0.113.0:4000

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Make sure you don’t have anything running on your server with same port. If you have anything other running in same time on port 4000, it can’t assign port. You can use following command to check above:

  1. sudo lsof -i :4000

Also look at this GitHub Issue and answer, it could be helpful.