Issues pinging localhost and starting apache.
Mark Shields wrote:
On Nov 22, 2007 7:45 PM, Jordan Woehr <email@example.com
*I first encounter this problem while trying to setup Apache for my
machine. I only want it to run locally on my network. First issue,
to start Apache and have it listen to port 80 but it won't start with
* Caching service dependencies
... [ ok ]
* Starting apache2 ...
(98)Address already in use: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs
*The only lines I have added to httpd.conf are as follows:
*Having Apache listen on port 8080 instead results in it starting
Thing is, I'm pretty sure nothing is listening on port 80.*
netstat -an | grep :80
tcp 0 0 192.168.0.104:56125
tcp 0 0 192.168.0.104:56123
tcp 0 0 192.168.0.104:36115
tcp 0 0 192.168.0.104:45155
*I was not happy with Apache not starting listening to port 80 but I
started it on 8080 instead. Tried going to localhost:8080 in
but received an unable to establish connection error.
From there I went to my hosts file which is as follows
*127.0.0.1 <http://127.0.0.1> localhost
*Tried scanning 127.0.0.1 <http://127.0.0.1> with nmap:
*nmap -sT -PT 127.0.0.1 <http://127.0.0.1>
Starting Nmap 4.20 ( http://insecure.org <http://insecure.org> )
at 2007-11-22 17:11 MST
Note: Host seems down. If it is really up, but blocking our ping
Nmap finished: 1 IP address (0 hosts up) scanned in 3.342 seconds
*And now a ping
ping -c 5 localhost
PING localhost (127.0.0.1 <http://127.0.0.1>) 56(84) bytes of data.
From 10.132.0.1 <http://10.132.0.1> icmp_seq=1 Destination Net
From 10.132.0.1 <http://10.132.0.1> icmp_seq=3 Destination Net
From 10.132.0.1 <http://10.132.0.1> icmp_seq=4 Destination Net
From 10.132.0.1 <http://10.132.0.1> icmp_seq=5 Destination Net
--- localhost ping statistics ---
5 packets transmitted, 0 received, +4 errors, 100% packet loss,
*localhost seems to be resolved properly to 127.0.0.1
<http://127.0.0.1> but what I don't
understand is where the 10.132.0.1 <http://10.132.0.1> comes from.
This computer's ip on the
network is 192.168.0.104 <http://192.168.0.104> (static) and my ip
on the internet is
77.something.something.something (was when I did the ping at least).
I hope the above is enough information. Suggestions on why Apache
start listening on port 80 and why I can't connect to localhost:8080
from firefox when Apache is running are welcome.
firstname.lastname@example.org <mailto:email@example.com> mailing list
This may sound like a silly question, but is loopback running
- Mark Shields
This was exactly the problem. I switched from the traditional startup
scripts to NetworkManager a while back and I guess NM doesn't handle lo
by default. Does anyone happen to know if NM handles the loopback
adapter at all?
firstname.lastname@example.org mailing list
|All times are GMT. The time now is 05:46 AM.|
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.