Four Days on Rails: Errror: connection refused

B

basi

Hello,
I'm installing Four Days on Rails. On the first checkpoint, I attempt
to connect to the server:

http://todo/

In Mozilla, the message is that connection is refused. In IE: Cannot
find server or DNS Error. I have done the following steps. What did i
miss?

Thanks
basi

Steps:
1. Create the directory stucture
c:\> subst w: c:\www\webroot
c:\> w:
w:\> rails ToDo
2. Define application in the hosts file
127.0.0.1 todo
127.0.0.1 localhost
207.68.172.246 msn.com
3. Define the application in Apache. Restarted apache.
<VirtualHost *:80>
ServerName todo
DocumentRoot /www/webroot/ToDo/public
<Directory /www/webroot/ToDo/public/>
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
</Directory>
</VirtualHost>
4. Switch to fastcgi
# Change extension from .cgi to .fcgi to switch to FCGI and to .rb to
swith to mod_ruby
RewriteBase /dispatch.fcgi
 
M

Mando Escamilla

------=_Part_4566_20974744.1113928567643
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Basi,

It sounds like apache's not running (or is listening on the wrong interface=
=20
or port).

Try telnetting to localhost on port 80 to see if anything's listening.

--
Mando

=20
Unfortunately, neither one works either. Thanks for the suggestion. I'm
still stuck.
=20

------=_Part_4566_20974744.1113928567643--
 
Z

Zach Dennis

basi said:
3. Define the application in Apache. Restarted apache.
DocumentRoot /www/webroot/ToDo/public
<Directory /www/webroot/ToDo/public/>


On windows you need to specify c:/www/webroot/ToDo/public ... Windows
doesn't comprehend "/www/...."

Zach
 
B

basi

Zach,
Added the drive letter c:, thus:

DocumentRoot c:/www/webroot/ToDo/public
<Directory c:/www/webroot/ToDo/public/>

Then restarted Apache and attempted to connect:

http://localhost:80/

but, still, connection was refused.

Thanks,
basi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top