Breakpointer socket errors?


I’m not sure what has changed that could have caused this, but lately,
I’m unable to run the script/breakpointer script with my application.
The application is just loaded up as webrick like:

=> Booting WEBrick…
=> Rails application started on
=> Ctrl-C to shutdown server; call with --help for options
[2006-03-20 12:42:48] INFO WEBrick 1.3.1
[2006-03-20 12:42:48] INFO ruby 1.8.4 (2005-12-24) [i386-linux]
[2006-03-20 12:42:48] INFO WEBrick::HTTPServer#start: pid=5864

And running script/breakpointer:

/usr/lib/ruby/1.8/drb/drb.rb:837:in getaddrinfo': getaddrinfo: Name or service not known (SocketError) from /usr/lib/ruby/1.8/drb/drb.rb:837:inopen_server_inaddr_any’
from /usr/lib/ruby/1.8/drb/drb.rb:860:in open_server' from /usr/lib/ruby/1.8/drb/drb.rb:756:inopen_server’
from /usr/lib/ruby/1.8/drb/drb.rb:754:in open_server' from /usr/lib/ruby/1.8/drb/drb.rb:1336:ininitialize’
from /usr/lib/ruby/1.8/drb/drb.rb:1624:in start_service' from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/breakpoint_client.rb:146 from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/breakpoint_client.rb:145 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
require' from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/breakpointer.rb:1 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
from script/breakpointer:3

Any clues where to start looking for what is wrong? I get a connection
refused trying to just telnet to the 42531 port on localhost.


=> Rails application started on you may like to check your /etc/hosts if on a *nix. Things tend
to go better with the followings in it…

[user@localhost]$ cat /etc/hosts

Do not remove the following line, or various programs

that require network functionality will fail. localhost.localdomain localhost


Doug D. wrote:

=> Rails application started on you may like to check your /etc/hosts if on a *nix.

IIRC tells the server to listen on all interfaces.

It doesn’t mean that you point your browser at - you still use
localhost,, or the real IP address of the machine in your URL.