I have had appache running and working on my system for about 3 months now. The
other day I noticed that It was not serving webpages over the WAN. I can how
ever look at my website locally on the machine it it running on. I checked to
make sure my firewall was still port forwarding to port 80 and it is. I checked
to make sure that port 80 was listening and it is
[schrock@schrock321 schrock]$
netstat -an | grep 80tcp
0 0 0.0.0.0:80 0.0.0.0:*
LISTENtcp 0 0 192.168.2.91:33997 207.68.171.247:80
TIME_WAITtcp 0 0 192.168.2.91:80 192.168.2.91:33990
TIME_WAITtcp 0 0 192.168.2.91:34000 207.68.172.245:80
TIME_WAITtcp 0 0 192.168.2.91:33999 207.68.172.245:80
TIME_WAITtcp 0 0 192.168.2.91:33998 207.68.172.245:80
TIME_WAITtcp 0 0 192.168.2.91:80 192.168.2.91:33992
TIME_WAITtcp 0 0 192.168.2.91:34012 192.168.2.91:80
TIME_WAITtcp 0 0 192.168.2.91:34013 192.168.2.91:80
TIME_WAITtcp 0 0 192.168.2.91:34008 192.168.2.91:80
TIME_WAITtcp 0 0 192.168.2.91:34009 192.168.2.91:80
TIME_WAITtcp 0 0 192.168.2.91:34010 192.168.2.91:80
TIME_WAITtcp 0 0 192.168.2.91:34011 192.168.2.91:80
TIME_WAITtcp 0 0 192.168.2.91:34007 207.68.171.232:80
TIME_WAITtcp 0 0 192.168.2.91:34002 207.68.171.232:80
TIME_WAITtcp 0 0 192.168.2.91:80 192.168.2.91:34014
TIME_WAITtcp 0 0 192.168.2.91:34003 66.59.149.199:80
TIME_WAITunix 3 [ ] STREAM CONNECTED 5780
/tmp/.X11-unix/X0unix 2 [ ] DGRAM 4804unix 3
[ ] STREAM CONNECTED 4580
my host file I have not changed since I configured the webserver
127.0.0.1 localhost.localdomain localhost
192.168.36.21
www.schrock321.com schrock321 schrock321.com
I use firestarter. Everything checks out ok with firestarter. I even reinstalled it.
# nmap 3.48 scan initiated Sat Dec 20 13:38:21 2003 as: nmap -sS -PI -PT -oN
/home/schrock/Desktop/temp 127.0.0.1 Interesting ports on localhost.localdomain
(127.0.0.1):(The 1647 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
143/tcp open imap
505/tcp open mailbox-lm
783/tcp open hp-alarm-mgr
858/tcp open unknown
6000/tcp open X11
10000/tcp open snet-sensor-mgmt
32770/tcp open sometimes-rpc3
# Nmap run completed at Sat Dec 20 13:38:24 2003 -- 1 IP address (1 host up)
scanned in 2.939 seconds
I checked to make sure my dns name is assigned the right ip address and it is
[schrock@schrock321 schrock]$ dig schrock321.com
; <<>> DiG 9.2.1 <<>> schrock321.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41493
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 1
;; QUESTION SECTION:
;schrock321.com. IN A
;; ANSWER SECTION:
schrock321.com. 60 IN A 24.205.194.116
;; AUTHORITY SECTION:
schrock321.com. 86400 IN NS ns3.no-ip.com.
schrock321.com. 86400 IN NS ns4.no-ip.com.
schrock321.com. 86400 IN NS ns1.no-ip.com.
schrock321.com. 86400 IN NS ns2.no-ip.com.
;; ADDITIONAL SECTION:
ns2.no-ip.com. 85710 IN A 63.215.241.224
;; Query time: 64 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Dec 20 13:46:20 2003
;; MSG SIZE rcvd: 142
I have though installed samba and configured swat a couple of days before I
noticed my webserver not working right. This is the only change I have done to
my system. Could My isp be blocking port 80 now? Is there a easy way of testing
this. My mail server is still working good I have no problems with port 25. I
have tried uninstalling and reinstalling apache. Anyone have any ideas about what
Is going on? Anyone have any ideas about how I can trouble shoot this
problem?
Thanks,AD