View previous topic :: View next topic |
Author |
Message |
Gentoonie Apprentice
Joined: 06 Apr 2004 Posts: 205 Location: near Munich | Bavaria | Germany
|
Posted: Mon Sep 27, 2004 9:13 pm Post subject: Another Apache2 and port80 problem |
|
|
Ok here we go =/
If got a clean new installed box with apache 2 configured, so long everything works fine. With apache2 started i can show my website without any problem thorugh http://localhost/ in my browser.
But if i want to make this from outside, i always get an error "This document contains no data". I configured my router to forward port 80 to my machine, so there should be no problem.
Here is what nmap shows:
Quote: | Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2004-09-27 23:04 UTC
Interesting ports on p548025f5.dip.t-dialin.net (84.128.37.245):
PORT STATE SERVICE
80/tcp open http
Nmap run completed -- 1 IP address (1 host up) scanned in 0.473 seconds |
Netstat Output:
Quote: | Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
|
So where shall i continue to search the problem? btw i dont have a static IP adress so dont try to reach me with the IP shown above.
Thx so long, Gentoonie |
|
Back to top |
|
|
canal Apprentice
Joined: 28 Sep 2004 Posts: 203
|
Posted: Tue Sep 28, 2004 7:12 am Post subject: Re: Another Apache2 and port80 problem |
|
|
Gentoonie wrote: | Ok here we go =/
If got a clean new installed box with apache 2 configured, so long everything works fine. With apache2 started i can show my website without any problem thorugh http://localhost/ in my browser.
But if i want to make this from outside, i always get an error "This document contains no data". I configured my router to forward port 80 to my machine, so there should be no problem.
|
Hmm... Looks like standard "firewall with disabled ICMP" problem to me. Are you sure that's not standard problem with... clueless... people who disabled all ICMP packets or router ? Check with very smaill file (3-4 bytes in length) - if you can see such a file but not full-sized index.html then find your admin and explain to him/her what exactly you think about his/her competence... |
|
Back to top |
|
|
Madferret n00b
Joined: 23 Jul 2004 Posts: 13
|
Posted: Tue Sep 28, 2004 7:27 am Post subject: |
|
|
I can be completely wrong here, but which ISP are you using?
It could be the ISP blocking port 80.
This is what happened to me, and after hours and hours messing with my firewall..I found out Adelphia blocks port 80, so I can't serve on port 80.
Try serving on another port, and see if it works |
|
Back to top |
|
|
Gentoonie Apprentice
Joined: 06 Apr 2004 Posts: 205 Location: near Munich | Bavaria | Germany
|
Posted: Tue Sep 28, 2004 10:50 am Post subject: |
|
|
Okay, things have turned around °_°
Now its possible for others to view my running webpage when they enter my current WAN IP. If i do so, i see nothin. Okay thats no real problem as i can see my page using /localhost, but its confusing me a bit
Any ideas someone?
Thx Gentoonie |
|
Back to top |
|
|
bware n00b
Joined: 23 Mar 2004 Posts: 22 Location: Amsterdam
|
Posted: Tue Sep 28, 2004 3:18 pm Post subject: |
|
|
Might be due the fact that you traverse nat twice ?
If you have NAT setup on your WanIP (using iptables) and you try it from a local machine things may go haywire due to the fact that the packets traverse the nat twice. _________________ Regards,
BWare |
|
Back to top |
|
|
|