WEBrick won't answer

Hi

I’m starting with RoR, trying to get things working. I’m following the
onLamp tutorial for my first steps. At the point where i’m supposed to
start the server for the first time i’m not getting any further. WEBrick
seems to work:

=======================================
Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:>cd rails\cookbook

C:\rails\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-06-21 11:24:23] INFO WEBrick 1.3.1
[2006-06-21 11:24:23] INFO ruby 1.8.2 (2004-12-25) [i386-mswin32]
[2006-06-21 11:24:23] INFO WEBrick::HTTPServer#start: pid=2016
port=3000

but my browser won’t show the page if i try to access
http://127.0.0.1:3000/
it just hangs. ctrl-c wont work to stop the server anymore in the
WEBrick console after i tried to get a page (it will if i haven’t
accessed a page yet). there’s no disk or CPU activity. I have apache 1.3
installed but stopped the service for this test. Its a windows XP system
and MySql 4.1.

Can anyone help on this?

Michaël

Hi Michael,

Michaël wrote:

but my browser won’t show the page if i try to access
http://127.0.0.1:3000/
it just hangs. ctrl-c wont work to stop the server anymore in the
WEBrick console after i tried to get a page (it will if i haven’t
accessed a page yet). there’s no disk or CPU activity. I have apache 1.3
installed but stopped the service for this test. Its a windows XP system
and MySql 4.1.

It sounds like, potentially, some sort of conflict. You might want to
use
netstat to take a look at what’s running / using what. Open a command
window and enter >netstat -h

hth,
Bill