小编con*_*led的帖子

jekyll 2.2.0 | 错误:地址已在使用中 - bind(2)

我是Jekyll博客的新手,并试图在本地查看博客

http://localhost:4000
Run Code Online (Sandbox Code Playgroud)

但失败了.

? my-awesome-site > jekyll serve
Notice: for 10x faster LSI support, please install http://rb-gsl.rubyforge.org/
Configuration file: /home/Git/my-awesome-site/_config.yml
        Source: /home/Git/my-awesome-site
   Destination: /home/Git/my-awesome-site/_site
  Generating...
                done.
Configuration file: /home/Git/my-awesome-site/_config.yml
jekyll 2.2.0 | Error:  Address already in use - bind(2)
Run Code Online (Sandbox Code Playgroud)

我试过了

$ lsof -wni tcp:3000
$ lsof -wni tcp:4000
Run Code Online (Sandbox Code Playgroud)

但他们两个都没有回报.

我的Ruby版本是:

? my-awesome-site > ruby --version
ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]
Run Code Online (Sandbox Code Playgroud)

接下来我该怎么办?我已经重新安装了jekyll,但同样的问题仍然存在.

jekyll

14
推荐指数
3
解决办法
7915
查看次数

标签 统计

jekyll ×1