Hi *,

What's the best way to find out on which port mongrel is running from
within Rails?
I have a cluster of mongrels behind a balancer (Pen) behind a webserver
(Apache).

In Rails,
  request.port return 80
and
  request.env['SERVER_PORT'] returns 3000 (the port of Pen)

Any ideas?

Cheers,
Max

_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to