Errno::ENETUNREACH (Network is unreachable - connect(2)):

I am trying to run my first app on the Solaris server, in a production
environment. I get a network unreachable. Why? Does it belongs to
database.yml config?

Processing CategoriesController#index (for 10.3.70.129 at 2010-01-05
14:00:47) [GET]

Errno::ENETUNREACH (Network is unreachable - connect(2)):
  /usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:560:in `initialize'
  /usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:560:in `open'
  /usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:560:in `connect'
  /usr/ruby-enterprise/lib/ruby/1.8/timeout.rb:53:in `timeout'
  /usr/ruby-enterprise/lib/ruby/1.8/timeout.rb:93:in `timeout'
  /usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:560:in `connect'
  /usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:553:in `do_start'
  /usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:542:in `start'
  /usr/ruby-enterprise/lib/ruby/1.8/soap/netHttpClient.rb:115:in
`start'
  /usr/ruby-enterprise/lib/ruby/1.8/soap/netHttpClient.rb:92:in `post'
  /usr/ruby-enterprise/lib/ruby/1.8/soap/streamHandler.rb:170:in
`send_post'
  /usr/ruby-enterprise/lib/ruby/1.8/soap/streamHandler.rb:109:in
`send'
  /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/proxy.rb:170:in `route'
  /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'
  /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call'
  /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/driver.rb:232:in
`getEmail'
  /usr/ruby-enterprise/lib/ruby/1.8/soap/wsdlDriver.rb:117:in
`__send__'
  /usr/ruby-enterprise/lib/ruby/1.8/soap/wsdlDriver.rb:117:in
`GetEmail'
  app/controllers/application_controller.rb:16:in `user_session'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/rack/
request_handler.rb:95:in `process_request'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_request_handler.rb:207:in `main_loop'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/railz/
application_spawner.rb:374:in `start_request_handler'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/railz/
application_spawner.rb:332:in `handle_spawn_application'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/utils.rb:
184:in `safe_fork'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/railz/
application_spawner.rb:330:in `handle_spawn_application'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_server.rb:352:in `__send__'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_server.rb:352:in `main_loop'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_server.rb:196:in `start_synchronously'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_server.rb:163:in `start'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/railz/
application_spawner.rb:209:in `start'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
spawn_manager.rb:262:in `spawn_rails_application'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_server_collection.rb:126:in `lookup_or_add'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
spawn_manager.rb:256:in `spawn_rails_application'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_server_collection.rb:80:in `synchronize'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_server_collection.rb:79:in `synchronize'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
spawn_manager.rb:255:in `spawn_rails_application'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
spawn_manager.rb:154:in `spawn_application'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
spawn_manager.rb:287:in `handle_spawn_application'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_server.rb:352:in `__send__'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_server.rb:352:in `main_loop'
  /data1/src/ruby/passenger-2.2.7/lib/phusion_passenger/
abstract_server.rb:196:in `start_synchronously'

Rendering /sites/rails-data/apps/public/500.html (500 Internal Server
Error)

Problem found:

I was using a wsdl file with the address to the local dev server, that
what not reachable, thanks to this line:

/usr/ruby-enterprise/lib/ruby/1.8/soap/netHttpClient.rb:115:in

although the log error is not so useful.