|
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) |

|
2006-12-08 13:52:35 |
|
---------- Forwarded message ---------- From: Curt Hibbs < curt.hibbs gmail.com">curt.hibbs 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 free.fr">gharrivel 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 free.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
gharrivel 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: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
=> 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) |

|
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.hibbs gmail.com
<mailto:curt.hibbs 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 free.fr
<mailto:gharrivel 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 free.fr
<mailto:gharrivel 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: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-users rubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users
_______________________________________________
Instantrails-users mailing list
Instantrails-users rubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users
|
|
| No Instant Gratification ! Browser,
can't access localhost:3000 (IR 1.4) |

|
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.hibbs gmail.com
<mailto:curt.hibbs 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 free.fr
<mailto:gharrivel 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 free.fr
<mailto:gharrivel 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: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-users rubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users
_______________________________________________
Instantrails-users mailing list
Instantrails-users rubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users
|
|
| No Instant Gratification ! Browser,
can't access localhost:3000 (IR 1.4) |

|
2006-12-30 01:30:06 |
|
I had to issue on XP "netsh winsock reset" to "unstick" my connection
On 12/11/06, Harrivel <
gharrivel free.fr">gharrivel 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 gmail.com">curt.hibbs gmail.com <mailto: curt.hibbs gmail.com">curt.hibbs 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 free.fr">
gharrivel free.fr <mailto: gharrivel free.fr">gharrivel 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 shouldn9;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 free.fr">gharrivel free.fr
<mailto: gharrivel free.fr">gharrivel 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: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 < | |