httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah <>
Subject Re: [users@httpd] "Connection refused when attempting to contact..." with vhosts
Date Sun, 03 Apr 2005 16:21:34 GMT
On Sun, Apr 03, 2005 at 05:27:45PM +0200, Milan Delibasic wrote:
> Hi,
> I'm running apache 2.0.53 on WinXP SP2 for local testing. I haven't changed 
> the standard (shipped) http.conf except for adding (ip-based) vhosts. That 
> looks something like
> <VirtualHost <>>
> DocumentRoot "C:/apache2/htdocs/site1/www"
> ServerName <>
> ErrorLog "C:/apache2/htdocs/site1/logs/error.log"
> CustomLog "C:/apache2/htdocs/site1/logs/access.log" common
> </VirtualHost>

Assuming that's actually how you have it configured, your syntax is
incorrect; See for the
proper syntax for the <VirtualHost> container.

> The entry <>
><>was added to the etc\hosts file. The
> problem is that I cannot access
> <> (in Mozilla I get the message 
> "Connection refused when attempting to contact
> The same applies when I try with ip number. The "localhost" works fine.

Have you configured a Listen directive for your other 127.0.0.x IP
addresses? Note that 'localhost' is only mapped to ''. Note
also that, IIRC,  you'll have to fully exit and restart your browser in
order to it to notice the changes in the hosts file.

<huey> dd of=/dev/fd0 if=/dev/flippy bs=1024
<huey> ^^^ Making Flippy Floppy

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message