我有两个存储库,其中一个我运行 git instaweb --httpd=webrick 进行网络访问,当我尝试运行第二个时,我遇到了错误。我将在一台服务器上托管六个 repo,如何处理这个问题。
ERROR -->
/usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Address already in use - bind(2) (Errno::EADDRINUSE)
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new'
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners'
from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `each'
from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners'
from /usr/lib/ruby/1.8/webrick/server.rb:75:in `listen'
from /usr/lib/ruby/1.8/webrick/server.rb:63:in `initialize'
from /usr/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize'
from /home/gitadmin/sdk.git/gitweb/webrick.rb:20:in `new'
from /home/gitadmin/sdk.git/gitweb/webrick.rb:20
Could not execute http daemon webrick.