新手问题 `getaddrinfo': getnameinfo:无法加载或初始化请求的服务提供程序。

xuhui54 · 2012年08月07日 · 3517 次阅读

D:\rubyspace\blog>rails server -p 8088 => Booting WEBrick => Rails 3.2.6 application starting in development on http://0.0.0.0:8088 => Call with -d to detach => Ctrl-C to shutdown server [2012-08-07 16:53:34] INFO WEBrick 1.3.1 [2012-08-07 16:53:34] INFO ruby 1.9.3 (2012-04-20) [i386-mingw32] Exiting C:/Ruby193/lib/ruby/1.9.1/webrick/utils.rb:75:in getaddrinfo': getnameinfo: 无 法加载或初始化请求的服务提供程序。 (SocketError) from C:/Ruby193/lib/ruby/1.9.1/webrick/utils.rb:75:increate_listeners'

from C:/Ruby193/lib/ruby/1.9.1/webrick/server.rb:82:in listen' from C:/Ruby193/lib/ruby/1.9.1/webrick/server.rb:70:ininitialize' from C:/Ruby193/lib/ruby/1.9.1/webrick/httpserver.rb:45:in initialize' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/handler/web rick.rb:10:innew' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/handler/web rick.rb:10:in run' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:2 65:instart' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/comman ds/server.rb:70:in start' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/comman ds.rb:55:inblock in ' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/comman ds.rb:50:in tap' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/comman ds.rb:50:in' from script/rails:6:in require' from script/rails:6:in

' 无法启动服务器 这什么原因

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号