LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2003, 06:53 AM   #1
ashv3524
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Rep: Reputation: 0
RH9 apache connection refused from external IP addr


Hi,

I have a RH9 install with apache running within vmware on a windows xp host, behind a cable modem and netgear router. I can view the website from an internal ip addr but not from outside the internal LAN.

ethereal trace shows that when a machine from within the internal LAN connects, a tcp http SYN packet is responded to with a SYN, ACK packet. But when a machine from outside the LAN connects, the SYN connect packet is responded to with a RST, ACK packet.

iptables -L shows no rules set.

apache is configured to listen to all addresses on port 80, with no virtual hosts defined.

Your help in solving this would be much appreciated.

Thanks,
Ashv
 
Old 10-19-2003, 07:01 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
I know this is obvious but did you configure port forwarding on the router?
if you're using NAT of course.

Last edited by Demonbane; 10-19-2003 at 07:02 AM.
 
Old 10-19-2003, 07:19 AM   #3
ashv3524
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
yes, i did try with port forwarding enabled; same result. Currently the web server m/c is set to exist in the DMZ.

i tried to ping it from a web-based ping service, which doesn't seem to work either.
 
Old 10-19-2003, 05:26 PM   #4
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Rep: Reputation: 30
i have the same problem but this is on my main pc and im running the netgear DG814 router and ive tried port forwarding with no luck.
 
Old 10-20-2003, 12:10 AM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Try setting up a webserver in XP and see if it works from outside, if it doesn't then it has to do with the router, maybe filtering firewall is enabled and not configured properly?
Or, though unlikely, that your isp blocks port 80 to prevent their users from hosting a web server, try using other uncommon ports as well.

Last edited by Demonbane; 10-20-2003 at 12:12 AM.
 
Old 11-08-2003, 09:41 AM   #6
ashv3524
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Well, finally figured out the problem. My ISP (Adelphia) is dropping outgoing [SYN, ACK] tcp connection handshake packets that originate from port 80. As far as I can make out, no other ports are blocked; ftp, ssh etc all work and the web server works fine when running on another port (ex: 3245).

I called their help desk but apparently the lower level analysts are not aware that adelphia blocks this way.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RH9 Sendmail: connection refused DaddyBad Linux - Newbie 9 08-30-2010 08:35 PM
Connection Refused Using Apache G24 Linux - Networking 14 09-24-2005 11:31 AM
ssh connection refused for external IP's Pleonast Linux - Networking 2 11-08-2004 12:00 PM
rsh : connection refused problem on RH9 haoscar Linux - Software 3 07-19-2004 11:12 PM
Apache connection refused tarnishedXhalo Red Hat 2 05-19-2004 12:51 AM


All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration