Forum: Ruby on Rails Connection refused

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Tim P. (Guest)
on 2006-05-25 15:51
Hey all

Ive been getting this error...

(mod_fastcgi.c.1739) connect failed: Connection refused on

Anyone else seen this error before? i run IRB and get...

irb(main):001:0> require ''
=> true

irb(main):001:0> require 'fcgi'
=> true

so i know the fastcgi bindings are working, but i when i try and run
anything through the main rails app it errors giving that output. Im
running lighttpd-1.4.11, and just trying to get rails working.

My lighty FastCGI conf is...

### FastCGI plugin.conf
  fastcgi.server = ( ".fcgi" =>
    ( servername =>
      ( "socket" => basedir + servername + "/tmp/sockets/fcgi.socket",
     	"min-procs" => 2,
        "max-procs" => 2,
        "max-load-per-proc" => 4,
        "idle-timeout" => 20,
        "bin-path" => basedir + servername + "/public/dispatch.fcgi",
        "bin-environment" => ( "RAILS_ENV" => "production" )

the var server names are held in the main conf file and set like...

var.basedir = "/var/www/sites/"
var.servername = ""

Can anyone help?


Tim P.
This topic is locked and can not be replied to.