Can't access http://localhost:3000

Hello,

Pure newbie question.
After installeing Ruby, Rail and al the gems I am following the
tutorial here

I start a server with Mongrel and it seems to be working, but when I
try to acces http://localhost:3000 i get a firefox error:
Firefox can’t establish a connection to the server at localhost:3000

I work under Vista with Ruby the latest one-click install ruby.

I have tried with Netbeans and with WEBrick but same problem.

There is a similar question on this group but no answer that match my
problem.

Advice welcome.

2009/10/2 Roger_jg [email protected]:

Firefox can’t establish a connection to the server at localhost:3000
How are you starting the server and what is shown at the console when
you start it?

What is shown when you try webrick (I ask because I am more familiar
with that)

Colin

did you check the port number. is your application opening on 3000
port??

Hi,
check firewall in your system , sometimes it may block

 Dhana

Roger,

Most of the tutorials around didn’t consider the “Windows users
minority”. That is a problem I pretend to solve (or minimize at
least), with the TrainerOnRails project:

http://www.traineronrails.com/

That way, the commands presented in these tutorials are not exactly
the ones we will use in Windows.

On the other hand, this one is not particular clear the way they show
the database configuration section.

Suggestion:

delete the blog folder, open a command window on your apps folder and
do:

E:\TEMP>rails blog
E:\TEMP>cd blog
E:\TEMP\blog>ruby script/server

Then start your browser and call:

http://localhost:3000

It must work that way.

I strongly suggest you to follow this tutorial:

http://www.buildingwebapps.com/podcasts

In your case, take a look at the first 8 lessons and check if you are
ready with all you need to get this done.

Then go forward with the next lessons 9 to 23. In the end you will
have done a complete CMS.

It works for me.

All the best.

mmm… probablemente el error sea causado por que en las preferencias
de red de firefox no este agregada localhost…

en firefox …
Editar(Edit)
|Preferencias(Preferences)
|

Tab Red(Network) -> boton(button) Configuracion(Configuration) ->
Without(Sin) proxy or Configuracion Manual - Manual Configuration
escriba en la caja de texto que dice Sin proxy para: localhost,
127.0.0.1
write in the text field that says without proxy for : localhost ,
127.0.0.1