List Info

Thread: No Instant Gratification ! Browser, can't access localhost:3000 (IR 1.4)




No Instant Gratification ! Browser, can't access localhost:3000 (IR 1.4)
user name
2006-12-08 13:52:35


---------- Forwarded message ----------
From: Curt Hibbs < curt.hibbsgmail.com">curt.hibbsgmail.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 < gharrivelfree.fr">gharrivelfree.fr&gt;

Everything looks good so far. I can think of two more things to try.

1)&nbsp; 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 < gharrivelfree.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> gharrivelfree.fr&gt; 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&gt;PATH
C:InstantRailsrubybin;C:InstantRailsmysqlbin;C:EasyE
clipse for Ruby On Rails
1.0.2rubybin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOW
SSystem32Wbem;C:Program FilesFichiers communsGTK2.0bin;C:Program
FilesQ
uickTimeQTSystem;C:INSTAN~1rubybin;C:INSTAN~1Apache;C:INSTAN~1PHP

C:InstantRails>cd rails_apps

C:InstantRailsrails_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:InstantRailsrails_apps

08/12/2006 &nbsp;09:51&nbsp;   ;<REP>; &nbsp; &nbsp; &nbsp; &nbsp;  .
08/12/2006&nbsp; 09:51 &nbsp; &nbsp;<REP> &nbsp;   ; &nbsp; &nbsp; ..
08/10/2006  ;22:49 ; &nbsp; <;REP>&nbsp; &nbsp; &nbsp;   ; &nbsp;.metadata
08/12/2006 &nbsp;09:51&nbsp; &nbsp; &lt;REP>&nbsp; &nbsp;   ; &nbsp; &nbsp;cookbook
08/12/2006  ;09:51 ; &nbsp; <;REP>&nbsp; &nbsp; &nbsp;   ; &nbsp;typo-2.6.0
 &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp;  0 fichier(s)  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; 0 octets
&nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; 5 Rép(s)&nbsp; 37 297 393 664 octets libres

C:InstantRailsrails_apps>cd cookbook

C:InstantRailsrails_appscookbook&gt;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

No Instant Gratification ! Browser, can't access localhost:3000 (IR 1.4)
user name
2006-12-08 22:43:35
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.hibbsgmail.com
<mailto:curt.hibbsgmail.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 <gharrivelfree.fr
<mailto:gharrivelfree.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* < gharrivelfree.fr
<mailto:gharrivelfree.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:InstantRailsrubybin;C:InstantRailsmysqlbin;C:EasyE
>     clipse for Ruby On Rails
>    
1.0.2rubybin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOW
>     SSystem32Wbem;C:Program FilesFichiers
>     communsGTK2.0bin;C:Program
>     FilesQ
>    
uickTimeQTSystem;C:INSTAN~1rubybin;C:INSTAN~1Apache;C
:INSTAN~1PHP
>
>     C:InstantRails>cd rails_apps
>
>     C:InstantRailsrails_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:InstantRailsrails_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:InstantRailsrails_apps>cd cookbook
>
>     C:InstantRailsrails_appscookbook>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-usersrubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users

_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

No Instant Gratification ! Browser, can't access localhost:3000 (IR 1.4)
user name
2006-12-10 17:23:18
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.hibbsgmail.com
<mailto:curt.hibbsgmail.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 <gharrivelfree.fr
<mailto:gharrivelfree.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* < gharrivelfree.fr
<mailto:gharrivelfree.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:InstantRailsrubybin;C:InstantRailsmysqlbin;C:EasyE
>     clipse for Ruby On Rails
>    
1.0.2rubybin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOW
>     SSystem32Wbem;C:Program FilesFichiers
>     communsGTK2.0bin;C:Program
>     FilesQ
>    
uickTimeQTSystem;C:INSTAN~1rubybin;C:INSTAN~1Apache;C
:INSTAN~1PHP
>
>     C:InstantRails>cd rails_apps
>
>     C:InstantRailsrails_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:InstantRailsrails_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:InstantRailsrails_apps>cd cookbook
>
>     C:InstantRailsrails_appscookbook>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-usersrubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users

_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

No Instant Gratification ! Browser, can't access localhost:3000 (IR 1.4)
user name
2006-12-30 01:30:06
I had to issue on XP "netsh winsock reset&quot; to "unstick" my connection

On 12/11/06, Harrivel < gharrivelfree.fr">gharrivelfree.fr&gt; 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&quot; and the connection to localhost:3000 was
successfull.

On my laptop, I remember I answered "incoming access&quot; 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&quot; 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&quot; 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.hibbsgmail.com">curt.hibbsgmail.com <mailto: curt.hibbsgmail.com">curt.hibbsgmail.com>>
&gt; Date: Dec 8, 2006 7:52 AM
> Subject: Re: [Instantrails-users] No Instant Gratification ! Browser,
&gt; can't access localhost:3000 (IR 1.4)
> To: Harrivel < gharrivelfree.fr"> gharrivelfree.fr <mailto: gharrivelfree.fr">gharrivelfree.fr&gt;>
>
> Everything looks good so far. I can think of two more things to try.
>
> 1) &nbsp;Try using http://127.0.0.1:3000/ instead of http://localhost:3000/
> -- it shouldn9;t make any difference, but it is worth trying.
&gt;
> 2) You might have a firewall running that is blocking access
&gt; (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* < gharrivelfree.fr">gharrivelfree.fr <mailto: gharrivelfree.fr">gharrivelfree.fr&gt;>
> wrote:
>;
; &nbsp;  Hi, Curt.
>
  ;  thank you for your response. Excuse-me sending you directly this mail,
>  ; &nbsp; but I don't know how to post a reply via the maillist. (can you
>&nbsp;   ; forward
&gt; &nbsp; &nbsp; it to maillist ?)
>
&gt; &nbsp; &nbsp; Well, I have done exactly what you say in your mail and it is the
>&nbsp; &nbsp;  same
>&nbsp;   ; results. Versions used (given by -v):
>&nbsp;   ; ruby : 1.8.5
>; &nbsp; &nbsp; rails : 1.1.6
>  ; &nbsp; Here is the console log.
>&nbsp;   ; ---------------------------------------------
>&nbsp; &nbsp;  C:INSTAN~1>CD C:InstantRails
>
&gt; &nbsp; &nbsp; C:InstantRails>PATH
; &nbsp;  C:InstantRailsrubybin;C:InstantRailsmysqlbin;C:EasyE
> &nbsp;   clipse for Ruby On Rails
>  ; &nbsp; 1.0.2rubybin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOW
>  ; &nbsp; SSystem32Wbem;C:Program FilesFichiers
>&nbsp; &nbsp;  communsGTK2.0bin;C:Program
>&nbsp;   ; FilesQ
&gt; &nbsp; &nbsp; uickTimeQTSystem;C:INSTAN~1rubybin;C:INSTAN~1Apache;C:INSTAN~1PHP
>
>&nbsp;   ; C:InstantRails>cd rails_apps
>
>&nbsp;   ; C:InstantRailsrails_apps>dir
> &nbsp;   Le volume dans le lecteur C n'a pas de nom.
>  ; &nbsp; Le numéro de série du volume est 7009-69BD
>
>&nbsp; &nbsp;  Répertoire de C:InstantRailsrails_apps
>
&gt; &nbsp; &nbsp; 08/12/2006  ;09:51 ; &nbsp; <;REP>&nbsp; &nbsp; &nbsp;   ; &nbsp;.
>&nbsp; &nbsp;  08/12/2006  ;09:51 ; &nbsp; <;REP>&nbsp; &nbsp; &nbsp;   ; &nbsp;..
>&nbsp;   ; 08/10/2006  ;22:49 ; &nbsp; <;REP>&nbsp; &nbsp; &nbsp;   ; &nbsp;.metadata
  ;  08/12/2006  ;09:51 ; &nbsp; <;REP>&nbsp; &nbsp; &nbsp;   ; &nbsp;cookbook
> &nbsp;   08/12/2006  ;09:51 ; &nbsp; <;REP>&nbsp; &nbsp; &nbsp;   ; &nbsp;typo-2.6.0
; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;0 fichier(s)  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; 0 octets
&gt; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ;5 Rép(s)&nbsp; 37 297 393 664 octets libres
>;
; &nbsp;  C:InstantRailsrails_apps>cd cookbook
&gt;
>&nbsp; &nbsp;  C:InstantRailsrails_appscookbook>ruby script/server
>&nbsp; &nbsp;  => Booting WEBrick...
; &nbsp;  => Rails application started on http://0.0.0.0:3000
> &nbsp;   <http://0.0.0.0:3000&gt;
>&nbsp; &nbsp;  => Ctrl-C to shutdown server; call with --help for options
&gt; &nbsp; &nbsp; [2006-12-08 10:04:30] INFO  WEBrick 1.3.1
>  ; &nbsp; [2006-12-08 10:04:30] INFO  ruby 1.8.5 (2006-08-25) [i386-mswin32]
>&nbsp; &nbsp;  [2006-12-08 10:04:30] INFO  WEBrick::HTTPServer#start: pid=1676
&gt; &nbsp; &nbsp; port=3000
  ;  ------------------------------------------------
>&nbsp;   ; Before calling the browser, I typed a netstat -a command : port
>&nbsp;   ; 3000 is
>&nbsp; &nbsp;  not used. Firefox said (it is in french) :
>
&gt; &nbsp; &nbsp; La connexion a échoué
>; &nbsp; &nbsp; Firefox ne peut établir de connexion avec le serveur à l'adresse
>&nbsp; &nbsp;  localhost:3000.
>&nbsp;   ; (connexion has failed. Firefox cannot establish connexion with the
>&nbsp;   ; server at address localhost:3000)
>
> &nbsp;   I am stopped by this problem at page 45... The book contains more 700
>&nbsp; &nbsp;  pages! Best regards.
&gt;
>&nbsp; &nbsp;  Gérard Harrivel
&gt;
>
&gt; ------------------------------------------------------------------------
>;
> _______________________________________________
> Instantrails-users mailing list
> Instantrails-usersrubyforge.org"> Instantrails-usersrubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org">Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )