LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-22-2004, 04:37 PM   #1
apoc013
Member
 
Registered: Jan 2004
Location: New York
Distribution: Red Hat 9
Posts: 31

Rep: Reputation: 15
Question Help with Apache (httpd)!


I'm having a problem with apache (httpd).

I installed it and have it running, it starts up with linux.

When I try to log on from the host computer it works fine, I have tried ever possible way to log-on from the host.

I have tried http://127.0.0.1/, http://localhost/, and the computers ip address.

But when I try logging on from my other computer which is networked to the host, and it cant find it.

Any ideas as to what it could be thats causing this?

Let me know if you need info from the config file, its to long to post I think.
 
Old 01-22-2004, 04:44 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Type netstat -ta and see if you are listening on your external http port.
 
Old 01-22-2004, 05:08 PM   #3
apoc013
Member
 
Registered: Jan 2004
Location: New York
Distribution: Red Hat 9
Posts: 31

Original Poster
Rep: Reputation: 15
This is what I get:

tcp 0 0 *:http *:* LISTEN

So I'm assuming that its listening.
 
Old 01-22-2004, 05:11 PM   #4
duerra
Member
 
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Rep: Reputation: 30
Make sure you have "Listen 80" in your httpd.conf
 
Old 01-22-2004, 05:21 PM   #5
apoc013
Member
 
Registered: Jan 2004
Location: New York
Distribution: Red Hat 9
Posts: 31

Original Poster
Rep: Reputation: 15
I have:

Listen *:80
 
Old 01-22-2004, 05:50 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Your problem is probably the firewall. I can't remember what the settings for firewall was for redhat (none, medium, high?) Anyhow, I believe yours is probably set to High. Also, it would be good to learn iptables (accept, reject, etc..) so that you can control what ports are open and which connections to block among other things.

-twantrd
 
Old 01-22-2004, 06:30 PM   #7
apoc013
Member
 
Registered: Jan 2004
Location: New York
Distribution: Red Hat 9
Posts: 31

Original Poster
Rep: Reputation: 15
Yeah thats what it was my firewall.

Thanks for the help.
 
  


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
is httpd the same apache?!!!!! arsham Linux - Software 4 05-11-2005 04:34 AM
Apache httpd Question Sillysoft Linux - Software 8 04-07-2004 06:17 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM
Apache httpd location navajo Linux - Software 6 05-21-2003 08:32 PM
Apache httpd c0c0deuz Linux - General 6 11-18-2002 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:14 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