127.0.0.1 is down after apache2 install
I have problem connecting to my localhost or 127.0.0.1 after apache install i never saw the greetig page "It works !!"
here is my /etc/hosts:
****
127.0.0.1 localhost.
127.0.1.1 pyro-laptop
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
****
netstat -naplt:
*****
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 192.168.1.2:46118 80.157.151.43:80 TIME_WAIT -
tcp 0 0 192.168.1.2:35475 62.41.7.58:80 ESTABLISHED 4068/firefox
tcp 0 0 192.168.1.2:34370 69.63.176.198:80 ESTABLISHED 4068/firefox
tcp 0 0 192.168.1.2:35270 62.41.7.59:80 TIME_WAIT -
tcp 0 0 192.168.1.2:50348 194.221.64.58:80 TIME_WAIT -
tcp 0 0 192.168.1.2:35268 62.41.7.59:80 ESTABLISHED 4068/firefox
*****
sudo lsof -i :80:
*****
firefox 4068 pyro 53u IPv4 44242 TCP pyro-laptop.
apache2 7368 root 3u IPv4 35132 TCP *:www (LISTEN)
apache2 7373 www-data 3u IPv4 35132 TCP *:www (LISTEN)
apache2 7375 www-data 3u IPv4 35132 TCP *:www (LISTEN)
******
$sudo lsof -i @0.0.0.0:80:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
firefox 4068 pyro 22u IPv4 45692 TCP pyro-laptop.
apache2 7368 root 3u IPv4 35132 TCP *:www (LISTEN)
apache2 7373 www-data 3u IPv4 35132 TCP *:www (LISTEN)
apache2 7375 www-data 3u IPv4 35132 TCP *:www (LISTEN)
$nmap 127.0.0.1
Starting Nmap 4.76 ( http://
Note: Host seems down. If it is really up, but blocking our ping probes, try -PN
Nmap done: 1 IP address (0 hosts up) scanned in 2.05 seconds
$sudo netstat -ntlp | grep :80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7368/apache2
on my apache2 configuration i have the lines
ServerName localhost
Listen 80
please can anyone help me please i'm stuck !!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apache2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Habib Tamala
- Solved:
- Last query:
- Last reply: