[Gllug] Configuring apache to accept connections

Mark Preston mark at markpreston.co.uk
Mon May 21 22:40:01 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,
I have recently installed Apache version 1.3.37 (from source with
openssl) on my home computer, but for some reason the server is not
accepting connections either from 127.0.0.1, or localhost, or ljp, or
local network addresses, or anywhere as far as I can establish. I
presume the Apache server is working OK and I would be grateful for any
help in adjusting the settings so that it will accept connections at
least from 127.0.0.1.

Below are some of the commands I have tried which I hope give those who
know about Apache configuring some useful hints.

root at ljp:/home/mark# lsof -i tcp | grep httpd
httpd     19538   root   16u  IPv4 3602461       TCP *:www (LISTEN)
httpd     19539 nobody   16u  IPv4 3602461       TCP *:www (LISTEN)
httpd     19540 nobody   16u  IPv4 3602461       TCP *:www (LISTEN)
httpd     19541 nobody   16u  IPv4 3602461       TCP *:www (LISTEN)
httpd     19542 nobody   16u  IPv4 3602461       TCP *:www (LISTEN)
httpd     19543 nobody   16u  IPv4 3602461       TCP *:www (LISTEN)
root at ljp:/home/mark# ping 192.168.1.4
PING 192.168.1.4 (192.168.1.4) 56(84) bytes of data.

- --- 192.168.1.4 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7010ms

root at ljp:/home/mark# telnet localhost 80
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection timed out

root at ljp:/usr/local/apache/bin# ./apachectl configtest
Syntax OK

Any help on how to proceed would be greatly appreciated. I have tried to
alter some of the settings in httpd.conf file but with no success so far.

- --
Regards,
Mark Preston
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGUh/AYuF5pLCgg38RAkQ1AJ9nxF1imeF31yqfeaXygfQA5ZojMgCdGGdL
eSDsmXbX6R0Fy39Hk0vN9Ns=
=LVOi
-----END PGP SIGNATURE-----
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list