Curt Hibbs
2006-Dec-08 13:52 UTC
[Instantrails-users] Fwd: No Instant Gratification ! Browser, can''t access localhost:3000 (IR 1.4)
---------- Forwarded message ---------- From: Curt Hibbs <curt.hibbs at gmail.com> Date: Dec 8, 2006 7:52 AM Subject: Re: [Instantrails-users] No Instant Gratification ! Browser, can''t access localhost:3000 (IR 1.4) To: Harrivel <gharrivel at free.fr> Everything looks good so far. I can think of two more things to try. 1) Try using http://127.0.0.1:3000/ instead of http://localhost:3000/ -- it shouldn''t make any difference, but it is worth trying. 2) You might have a firewall running that is blocking access (ZoneAlarm, Kerio, etc.) Try first turning off any firewall you might have running (including the one built in to windows). If it then works, you know it was the firewall and you can go back and try to set your firewall options to allow access without having to shutdown the whole firewall. Curt On 12/8/06, Harrivel <gharrivel at free.fr> wrote:> > Hi, Curt. > > thank you for your response. Excuse-me sending you directly this mail, > but I don''t know how to post a reply via the maillist. (can you forward > it to maillist ?) > > Well, I have done exactly what you say in your mail and it is the same > results. Versions used (given by -v): > ruby : 1.8.5 > rails : 1.1.6 > Here is the console log. > --------------------------------------------- > C:\INSTAN~1>CD C:\InstantRails > > C:\InstantRails>PATH > C:\InstantRails\ruby\bin;C:\InstantRails\mysql\bin;C:\EasyE > clipse for Ruby On Rails > 1.0.2\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW > S\System32\Wbem;C:\Program Files\Fichiers communs\GTK\2.0\bin;C:\Program > Files\Q > uickTime\QTSystem\;C:\INSTAN~1\ruby\bin;C:\INSTAN~1\Apache;C:\INSTAN~1\PHP > > C:\InstantRails>cd rails_apps > > C:\InstantRails\rails_apps>dir > Le volume dans le lecteur C n''a pas de nom. > Le num?ro de s?rie du volume est 7009-69BD > > R?pertoire de C:\InstantRails\rails_apps > > 08/12/2006 09:51 <REP> . > 08/12/2006 09:51 <REP> .. > 08/10/2006 22:49 <REP> .metadata > 08/12/2006 09:51 <REP> cookbook > 08/12/2006 09:51 <REP> typo-2.6.0 > 0 fichier(s) 0 octets > 5 R?p(s) 37 297 393 664 octets libres > > C:\InstantRails\rails_apps>cd cookbook > > C:\InstantRails\rails_apps\cookbook>ruby script/server > => Booting WEBrick... > => Rails application started on http://0.0.0.0:3000 > => Ctrl-C to shutdown server; call with --help for options > [2006-12-08 10:04:30] INFO WEBrick 1.3.1 > [2006-12-08 10:04:30] INFO ruby 1.8.5 (2006-08-25) [i386-mswin32] > [2006-12-08 10:04:30] INFO WEBrick::HTTPServer#start: pid=1676 port=3000 > ------------------------------------------------ > Before calling the browser, I typed a netstat -a command : port 3000 is > not used. Firefox said (it is in french) : > > La connexion a ?chou? > Firefox ne peut ?tablir de connexion avec le serveur ? l''adresse > localhost:3000. > (connexion has failed. Firefox cannot establish connexion with the > server at address localhost:3000) > > I am stopped by this problem at page 45... The book contains more 700 > pages! Best regards. > > G?rard Harrivel >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061208/0fab9215/attachment.html
Harrivel
2006-Dec-08 22:43 UTC
[Instantrails-users] Fwd: No Instant Gratification ! Browser, can''t access localhost:3000 (IR 1.4)
1) 127.0.0.1:3000 or localhost:3000 : the same results 2) I turned off Windows Firewall and McAfee Personal Firewal : idem. When I choose InstantRails>Configure>Database via phpAmin : Firefox connects to 127.0.0.1/mysql... Ping to 127.0.0.1 or 192.162.1.100 work well. It is a mystery for me. I''ll install InstantRails on another machine to-morrow. gh Curt Hibbs a ?crit :> > > ---------- Forwarded message ---------- > From: *Curt Hibbs* <curt.hibbs at gmail.com <mailto:curt.hibbs at gmail.com>> > Date: Dec 8, 2006 7:52 AM > Subject: Re: [Instantrails-users] No Instant Gratification ! Browser, > can''t access localhost:3000 (IR 1.4) > To: Harrivel <gharrivel at free.fr <mailto:gharrivel at free.fr>> > > Everything looks good so far. I can think of two more things to try. > > 1) Try using http://127.0.0.1:3000/ instead of http://localhost:3000/ > -- it shouldn''t make any difference, but it is worth trying. > > 2) You might have a firewall running that is blocking access > (ZoneAlarm, Kerio, etc.) Try first turning off any firewall you might > have running (including the one built in to windows). If it then > works, you know it was the firewall and you can go back and try to set > your firewall options to allow access without having to shutdown the > whole firewall. > > Curt > > > On 12/8/06, *Harrivel* < gharrivel at free.fr <mailto:gharrivel at free.fr>> > wrote: > > Hi, Curt. > > thank you for your response. Excuse-me sending you directly this mail, > but I don''t know how to post a reply via the maillist. (can you > forward > it to maillist ?) > > Well, I have done exactly what you say in your mail and it is the > same > results. Versions used (given by -v): > ruby : 1.8.5 > rails : 1.1.6 > Here is the console log. > --------------------------------------------- > C:\INSTAN~1>CD C:\InstantRails > > C:\InstantRails>PATH > C:\InstantRails\ruby\bin;C:\InstantRails\mysql\bin;C:\EasyE > clipse for Ruby On Rails > 1.0.2\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW > S\System32\Wbem;C:\Program Files\Fichiers > communs\GTK\2.0\bin;C:\Program > Files\Q > uickTime\QTSystem\;C:\INSTAN~1\ruby\bin;C:\INSTAN~1\Apache;C:\INSTAN~1\PHP > > C:\InstantRails>cd rails_apps > > C:\InstantRails\rails_apps>dir > Le volume dans le lecteur C n''a pas de nom. > Le num?ro de s?rie du volume est 7009-69BD > > R?pertoire de C:\InstantRails\rails_apps > > 08/12/2006 09:51 <REP> . > 08/12/2006 09:51 <REP> .. > 08/10/2006 22:49 <REP> .metadata > 08/12/2006 09:51 <REP> cookbook > 08/12/2006 09:51 <REP> typo-2.6.0 > 0 fichier(s) 0 octets > 5 R?p(s) 37 297 393 664 octets libres > > C:\InstantRails\rails_apps>cd cookbook > > C:\InstantRails\rails_apps\cookbook>ruby script/server > => Booting WEBrick... > => Rails application started on http://0.0.0.0:3000 > <http://0.0.0.0:3000> > => Ctrl-C to shutdown server; call with --help for options > [2006-12-08 10:04:30] INFO WEBrick 1.3.1 > [2006-12-08 10:04:30] INFO ruby 1.8.5 (2006-08-25) [i386-mswin32] > [2006-12-08 10:04:30] INFO WEBrick::HTTPServer#start: pid=1676 > port=3000 > ------------------------------------------------ > Before calling the browser, I typed a netstat -a command : port > 3000 is > not used. Firefox said (it is in french) : > > La connexion a ?chou? > Firefox ne peut ?tablir de connexion avec le serveur ? l''adresse > localhost:3000. > (connexion has failed. Firefox cannot establish connexion with the > server at address localhost:3000) > > I am stopped by this problem at page 45... The book contains more 700 > pages! Best regards. > > G?rard Harrivel > > > ------------------------------------------------------------------------ > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users
Harrivel
2006-Dec-10 17:23 UTC
[Instantrails-users] Fwd: No Instant Gratification ! Browser, can''t access localhost:3000 (IR 1.4)
Well, I have found! after re-installing InstantRails on another PC, the firewall asked which access right must be given to Ruby Interpreter. I answered "total access" and the connection to localhost:3000 was successfull. On my laptop, I remember I answered "incoming access" on the first time and this access right was registered and always applied by McAfee Personal Firewall, turned on or turned off... But maybe I don''t know very well how McAffe works, but the fact is thre was no other access right request for Ruby Interpreter. So we can say that Ruby Interpreter needs "total access" to internet. If not, the WEBRick server cannot receive incoming requests from any PC, local or distant, and cannot send any datas. The "total access" right must be given before the "ruby script/server" command. Maybe this rule should be explicited in the documentation... Thanks to Curt. G?rard Harrivel Curt Hibbs a ?crit :> > > ---------- Forwarded message ---------- > From: *Curt Hibbs* <curt.hibbs at gmail.com <mailto:curt.hibbs at gmail.com>> > Date: Dec 8, 2006 7:52 AM > Subject: Re: [Instantrails-users] No Instant Gratification ! Browser, > can''t access localhost:3000 (IR 1.4) > To: Harrivel <gharrivel at free.fr <mailto:gharrivel at free.fr>> > > Everything looks good so far. I can think of two more things to try. > > 1) Try using http://127.0.0.1:3000/ instead of http://localhost:3000/ > -- it shouldn''t make any difference, but it is worth trying. > > 2) You might have a firewall running that is blocking access > (ZoneAlarm, Kerio, etc.) Try first turning off any firewall you might > have running (including the one built in to windows). If it then > works, you know it was the firewall and you can go back and try to set > your firewall options to allow access without having to shutdown the > whole firewall. > > Curt > > > On 12/8/06, *Harrivel* < gharrivel at free.fr <mailto:gharrivel at free.fr>> > wrote: > > Hi, Curt. > > thank you for your response. Excuse-me sending you directly this mail, > but I don''t know how to post a reply via the maillist. (can you > forward > it to maillist ?) > > Well, I have done exactly what you say in your mail and it is the > same > results. Versions used (given by -v): > ruby : 1.8.5 > rails : 1.1.6 > Here is the console log. > --------------------------------------------- > C:\INSTAN~1>CD C:\InstantRails > > C:\InstantRails>PATH > C:\InstantRails\ruby\bin;C:\InstantRails\mysql\bin;C:\EasyE > clipse for Ruby On Rails > 1.0.2\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW > S\System32\Wbem;C:\Program Files\Fichiers > communs\GTK\2.0\bin;C:\Program > Files\Q > uickTime\QTSystem\;C:\INSTAN~1\ruby\bin;C:\INSTAN~1\Apache;C:\INSTAN~1\PHP > > C:\InstantRails>cd rails_apps > > C:\InstantRails\rails_apps>dir > Le volume dans le lecteur C n''a pas de nom. > Le num?ro de s?rie du volume est 7009-69BD > > R?pertoire de C:\InstantRails\rails_apps > > 08/12/2006 09:51 <REP> . > 08/12/2006 09:51 <REP> .. > 08/10/2006 22:49 <REP> .metadata > 08/12/2006 09:51 <REP> cookbook > 08/12/2006 09:51 <REP> typo-2.6.0 > 0 fichier(s) 0 octets > 5 R?p(s) 37 297 393 664 octets libres > > C:\InstantRails\rails_apps>cd cookbook > > C:\InstantRails\rails_apps\cookbook>ruby script/server > => Booting WEBrick... > => Rails application started on http://0.0.0.0:3000 > <http://0.0.0.0:3000> > => Ctrl-C to shutdown server; call with --help for options > [2006-12-08 10:04:30] INFO WEBrick 1.3.1 > [2006-12-08 10:04:30] INFO ruby 1.8.5 (2006-08-25) [i386-mswin32] > [2006-12-08 10:04:30] INFO WEBrick::HTTPServer#start: pid=1676 > port=3000 > ------------------------------------------------ > Before calling the browser, I typed a netstat -a command : port > 3000 is > not used. Firefox said (it is in french) : > > La connexion a ?chou? > Firefox ne peut ?tablir de connexion avec le serveur ? l''adresse > localhost:3000. > (connexion has failed. Firefox cannot establish connexion with the > server at address localhost:3000) > > I am stopped by this problem at page 45... The book contains more 700 > pages! Best regards. > > G?rard Harrivel > > > ------------------------------------------------------------------------ > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users
Greg Hauptmann
2006-Dec-30 01:30 UTC
[Instantrails-users] Fwd: No Instant Gratification ! Browser, can''t access localhost:3000 (IR 1.4)
I had to issue on XP "netsh winsock reset" to "unstick" my connection On 12/11/06, Harrivel <gharrivel at free.fr> wrote:> > Well, I have found! after re-installing InstantRails on another PC, the > firewall asked which access right must be given to Ruby Interpreter. I > answered "total access" and the connection to localhost:3000 was > successfull. > > On my laptop, I remember I answered "incoming access" on the first time > and this access right was registered and always applied by McAfee > Personal Firewall, turned on or turned off... But maybe I don''t know > very well how McAffe works, but the fact is thre was no other access > right request for Ruby Interpreter. > > So we can say that Ruby Interpreter needs "total access" to internet. If > not, the WEBRick server cannot receive incoming requests from any PC, > local or distant, and cannot send any datas. The "total access" right > must be given before the "ruby script/server" command. Maybe this rule > should be explicited in the documentation... > > Thanks to Curt. > > G?rard Harrivel > > Curt Hibbs a ?crit : > > > > > > ---------- Forwarded message ---------- > > From: *Curt Hibbs* <curt.hibbs at gmail.com <mailto:curt.hibbs at gmail.com>> > > Date: Dec 8, 2006 7:52 AM > > Subject: Re: [Instantrails-users] No Instant Gratification ! Browser, > > can''t access localhost:3000 (IR 1.4) > > To: Harrivel <gharrivel at free.fr <mailto:gharrivel at free.fr>> > > > > Everything looks good so far. I can think of two more things to try. > > > > 1) Try using http://127.0.0.1:3000/ instead of http://localhost:3000/ > > -- it shouldn''t make any difference, but it is worth trying. > > > > 2) You might have a firewall running that is blocking access > > (ZoneAlarm, Kerio, etc.) Try first turning off any firewall you might > > have running (including the one built in to windows). If it then > > works, you know it was the firewall and you can go back and try to set > > your firewall options to allow access without having to shutdown the > > whole firewall. > > > > Curt > > > > > > On 12/8/06, *Harrivel* < gharrivel at free.fr <mailto:gharrivel at free.fr>> > > wrote: > > > > Hi, Curt. > > > > thank you for your response. Excuse-me sending you directly this > mail, > > but I don''t know how to post a reply via the maillist. (can you > > forward > > it to maillist ?) > > > > Well, I have done exactly what you say in your mail and it is the > > same > > results. Versions used (given by -v): > > ruby : 1.8.5 > > rails : 1.1.6 > > Here is the console log. > > --------------------------------------------- > > C:\INSTAN~1>CD C:\InstantRails > > > > C:\InstantRails>PATH > > C:\InstantRails\ruby\bin;C:\InstantRails\mysql\bin;C:\EasyE > > clipse for Ruby On Rails > > 1.0.2\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW > > S\System32\Wbem;C:\Program Files\Fichiers > > communs\GTK\2.0\bin;C:\Program > > Files\Q > > > uickTime\QTSystem\;C:\INSTAN~1\ruby\bin;C:\INSTAN~1\Apache;C:\INSTAN~1\PHP > > > > C:\InstantRails>cd rails_apps > > > > C:\InstantRails\rails_apps>dir > > Le volume dans le lecteur C n''a pas de nom. > > Le num?ro de s?rie du volume est 7009-69BD > > > > R?pertoire de C:\InstantRails\rails_apps > > > > 08/12/2006 09:51 <REP> . > > 08/12/2006 09:51 <REP> .. > > 08/10/2006 22:49 <REP> .metadata > > 08/12/2006 09:51 <REP> cookbook > > 08/12/2006 09:51 <REP> typo-2.6.0 > > 0 fichier(s) 0 octets > > 5 R?p(s) 37 297 393 664 octets libres > > > > C:\InstantRails\rails_apps>cd cookbook > > > > C:\InstantRails\rails_apps\cookbook>ruby script/server > > => Booting WEBrick... > > => Rails application started on http://0.0.0.0:3000 > > <http://0.0.0.0:3000> > > => Ctrl-C to shutdown server; call with --help for options > > [2006-12-08 10:04:30] INFO WEBrick 1.3.1 > > [2006-12-08 10:04:30] INFO ruby 1.8.5 (2006-08-25) [i386-mswin32] > > [2006-12-08 10:04:30] INFO WEBrick::HTTPServer#start: pid=1676 > > port=3000 > > ------------------------------------------------ > > Before calling the browser, I typed a netstat -a command : port > > 3000 is > > not used. Firefox said (it is in french) : > > > > La connexion a ?chou? > > Firefox ne peut ?tablir de connexion avec le serveur ? l''adresse > > localhost:3000. > > (connexion has failed. Firefox cannot establish connexion with the > > server at address localhost:3000) > > > > I am stopped by this problem at page 45... The book contains more > 700 > > pages! Best regards. > > > > G?rard Harrivel > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061230/6a8803a6/attachment.html