LinuxQuestions.org
Visit Jeremy's Blog.
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 04-09-2008, 05:27 AM   #1
Moriya
LQ Newbie
 
Registered: Dec 2007
Posts: 19

Rep: Reputation: 0
Apache HTTPD server not connecting through internet.


I recently installed Apache 2.2.8 HTTPD web service.
When I try to connect to the site with either a dynamic host name or the internet ip address, it doesn't work.
Locally and on the LAN the webpage works.

When I do a netstat -atop| grep LIST it says:
tcp 0 0 *:www *:*
off(00.0/0/0)

Unless I am mistaken (which is a very good possibility), doesn't that mean it SHOULD be listening to all connections incoming on the www port?(80)
 
Old 04-09-2008, 05:56 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
presumably this device isn't directly on the internet, right? you have a router or firewall infront of it? what does ifconfig say abot your ip addressing on that box?
 
Old 04-09-2008, 06:51 AM   #3
Moriya
LQ Newbie
 
Registered: Dec 2007
Posts: 19

Original Poster
Rep: Reputation: 0
It is behind a router.
ifconfig is giving the LAN address on eth0.
I have other servers running that are able to connect through the net though.
Does it make sense that, for example, proftpd works while HTTPD doesn't?
 
Old 04-09-2008, 06:56 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well there will be something on your internet facing device to pass that traffic through, so you'd need to configrue that deice, whatever it maybe. presumably that is already done for ftp.
 
Old 04-09-2008, 09:42 AM   #5
Moriya
LQ Newbie
 
Registered: Dec 2007
Posts: 19

Original Poster
Rep: Reputation: 0
I figured it out.
There was some kind of bandwidth limiting filter tying up port 80.
I removed it and "It works!"

Last edited by Moriya; 04-09-2008 at 09:49 AM. Reason: Fixed it! Thanks acid!
 
Old 04-09-2008, 09:45 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
as above, you need to tell the router to forward traffic into it.
 
  


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
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 08:24 AM
configuration of httpd.conf to run apache server adityabhat2 Linux - Newbie 2 02-13-2005 01:10 PM
tomcat 5 implimentation on apache httpd server srikz Red Hat 0 07-22-2004 03:00 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM
Connecting PostgreSQL and Apache server Bert Programming 1 03-13-2002 07:10 AM


All times are GMT -5. The time now is 02:25 AM.

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