Salut,

J'ai mis en place la configuration suivante: mongrel + apache 2.2 + mod_proxy_balancer afin de me lancer dans l'aventure Ruby on Rails, mais je suis confronté à un problème étrange.

Mongrel semble s'obstiner à attendre des connexions IPV6:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 
[adm@box ~/httpd/rails]$ mongrel_rails start -a 127.0.0.1 -p 3000
** Starting Mongrel listening at :3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no restart).
** Rails signals registered.  HUP => reload (without restart).  It might not work well.
** Mongrel available at 127.0.0.1:3000
** Use CTRL-C to stop.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
[root@box /home/adm]# netstat -an | grep LISTEN
tcp6       0      0  *.3000                 *.*                    LISTEN
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
[root@box  /home/adm]# telnet localhost 3000
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
[root@box /home/adm]# telnet ::1 3000
Trying ::1...
Connected to ::1.
Escape character is '^]'.
Quelqu'un sait s'il y a une possibilité de forcer mongrel à utiliser l'IPV4 ?