LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-09-2006, 07:42 AM   #1
zenchess
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
Apache won't accept or reject incoming internet connections but accepts on local lan


Hi. I installed mandriva linux 2006. Apache won't accept incoming internet connections (it also doesnt refuse them, it just times out). It does accept connections via LAN however.

I went to the firewall settings in the control center and checked to allow for ssh and webserver. I looked at the iptables setup and it has ports 22 and 80 allowed.

This is what my hosts.deny looks like:

ALL: ALL EXCEPT 127.0.0.1 : DENY
httpd: ALL : ALLOW

This is what my hosts.accept looks like:
sshd: ALL : ALLOW
httpd: ALL : ALLOW

I can successfully ssh into the machine from a remote location.
I edited the httpd.conf file and put in the server i.p. address under servername (192.168.15.100)

I also changed the order, deny Deny from all to Allow from all even though I don't think that's necessary.

ANyways, I've looked at several apache configuration guides, and as far as I know it should already work.
 
Old 06-09-2006, 07:43 AM   #2
zenchess
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Also wanted to note that I have port forwarded ports 22 and 80 to the servers i.p. address on my local router.
 
Old 06-09-2006, 08:04 AM   #3
zenchess
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by zenchess

This is what my hosts.accept looks like:

I meant to say hosts.allow
 
Old 06-10-2006, 09:06 AM   #4
zenchess
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I figured out what the problem was (eventually). My isp blocks port 80. Switching to port 8000 worked.
 
  


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
My sendmail won´t accept incoming mail pjon Suse/Novell 3 07-20-2005 12:41 AM
GnomeMeeting does not accept incoming calls benguin Linux - Software 1 04-03-2004 06:31 AM
Two internet connections and one lan asistant Linux - Networking 1 03-07-2004 03:48 PM
ftp doesnt accept non-local connections rusium Linux - Networking 3 05-25-2003 11:24 PM
Internet connections on LAN dalraidia Linux - Networking 1 02-17-2003 05:35 PM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration