Re: Apache: Connection refused ...
Several possibilities. Can you "telnet localhost", if not, does not
sound like an apache problem.
You should be looking for apache not httpd:
root 636 0.0 0.3 3592 396 ? S Jun14 0:00 /usr/sbin/apache
www-data 643 0.0 0.2 3720 368 ? S Jun14 0:00 \_ /usr/sbin/apache
www-data 644 0.0 0.2 3680 312 ? S Jun14 0:00 \_ /usr/sbin/apache
www-data 645 0.0 0.2 3720 368 ? S Jun14 0:00 \_ /usr/sbin/apache
www-data 646 0.0 0.2 3720 368 ? S Jun14 0:00 \_ /usr/sbin/apache
www-data 647 0.0 0.9 3680 1216 ? S Jun14 0:00 \_ /usr/sbin/apache
www-data 4724 0.0 0.2 3720 380 ? S Jun14 0:00 \_ /usr/sbin/apache
www-data 6118 0.0 0.2 3660 316 ? S Jun14 0:00 \_ /usr/sbin/apache
www-data 6303 0.0 0.6 3616 888 ? S Jun14 0:00 \_ /usr/sbin/apache
Possible problem with your /etc/apache/access.conf file. In particular the
<Directory /var/www> section. Probably should look something like this:
<Directory /var/www>
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you (or at least, not yet).
Options Indexes FollowSymLinks
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
AllowOverride None
# Controls who can get stuff from this server.
order allow,deny
allow from all
</Directory>
didi@gewi.kfunigraz.ac.at (Dieter Schicker) writes:
> Hi,
>
> I just installed Apache 1.3.20 on my Debian box (Potato 2.2r2) which is NOT
> connected to the internet. I want to test some perl scripts on this machine.
>
> The installation worked fine and when I run Apache by the command "apachectl
> start" it says: "httpd started".
> But when I do a "ps aux" the httpd is not listed. When I try to access
> apache through a webserver (http://localhost/) it says "Connection refused
> when trying to connect to dilino" (which is the name I "invented" for my
> machine). Is there a problem with my ServerName directive?
>
> So my question is: How can I configure Apache in order to run just locally?
--
* For God so loved the world that He gave his only begotten Son, *
* that whoever believes in Him should not perish... John 3:16 *
Reply to: