Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Another Apache2 and port80 problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gentoonie
Apprentice
Apprentice


Joined: 06 Apr 2004
Posts: 205
Location: near Munich | Bavaria | Germany

PostPosted: Mon Sep 27, 2004 9:13 pm    Post subject: Another Apache2 and port80 problem Reply with quote

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
View user's profile Send private message
canal
Apprentice
Apprentice


Joined: 28 Sep 2004
Posts: 203

PostPosted: Tue Sep 28, 2004 7:12 am    Post subject: Re: Another Apache2 and port80 problem Reply with quote

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
View user's profile Send private message
Madferret
n00b
n00b


Joined: 23 Jul 2004
Posts: 13

PostPosted: Tue Sep 28, 2004 7:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Gentoonie
Apprentice
Apprentice


Joined: 06 Apr 2004
Posts: 205
Location: near Munich | Bavaria | Germany

PostPosted: Tue Sep 28, 2004 10:50 am    Post subject: Reply with quote

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
View user's profile Send private message
bware
n00b
n00b


Joined: 23 Mar 2004
Posts: 22
Location: Amsterdam

PostPosted: Tue Sep 28, 2004 3:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum