httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas2004 <>
Subject Re: [users@httpd] A question about configuring Apache Http Server
Date Fri, 11 Sep 2009 08:53:54 GMT

>A more comfortable way to test your webserver from your commandline is with
the curl or wget command (every linux distribution has them, i prefer curl)

>So do for example:
>curl http://localhost
>wget http://localhost

>on the machine where your apache is running.

When I entered "curl http://localhost" I got:

curl: (7) socket error: 111

When I entered "wget http://localhost" I got:

--10:47:07--  http://localhost/
           => `index.html'
Resolving localhost...

But strangely on this machine there is already another configuration for
"" and it works. :) I did the same configuration but
failed. :(

>>From your earlier posts I get that apache runs, but that the webserver
doesn answer connection attempts. That is probably a firewall issue.

>Redhat Linux comes with it's own firewall, and it is probably this what is
blocking you. You need to enable port 80. I don't have a RH machine
available right now to test this, so you'll have to look this up yourself in
the documentation.

I shut down the firewall with "service iptables stop". I got the same error.

View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

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