LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-18-2003, 12:01 AM   #1
shycalais
Member
 
Registered: Sep 2003
Distribution: rh
Posts: 43

Rep: Reputation: 15
apache not viewable by the outside


hi, i'm trying to set up an apache web server, everything seems to be working fine from
http://localhost
or
http://216.2.5.3 <-- my ip adress

from my computer they work fine, but if anyone else tries, they get an error saying that the website can not be found.. i have no idea where to start to look, can anyone point me in the right direction. i originally thought it might be user privlidges, but don't know where to look. i've done a few hours of searching on the net but seem to find all the tutorials either too simple or too complicated..

thanks
mark
 
Old 12-18-2003, 12:11 AM   #2
antihuman
LQ Newbie
 
Registered: Dec 2003
Distribution: Suse Linux 9.0 Professional
Posts: 6

Rep: Reputation: 0
Did you make sure your firewall(s) is open? I made the same mistake once before and booted myself in the rear for not after a few hours of poking around on my box.
 
Old 12-18-2003, 12:15 AM   #3
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
do a service iptables stop

then retry

if it works, it is a firewall problem

if not

post the output of

netstat -tlnp
 
Old 12-18-2003, 12:32 AM   #4
shycalais
Member
 
Registered: Sep 2003
Distribution: rh
Posts: 43

Original Poster
Rep: Reputation: 15
hey iptables stop didn't work
it wasn't a correct command and i couldn't find anything similar (i don't think i have an active firewall up, unless RH9 has one by default)

heres the other thing you asked to be posted!

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN 4170/rpc.statd
tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN 4288/xinetd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 4409/mysqld
tcp 0 0 0.0.0.0:11983 0.0.0.0:* LISTEN 4738/wish
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 4151/portmap
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 16198/httpd
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 4523/X
tcp 0 0 0.0.0.0:63251 0.0.0.0:* LISTEN 4738/wish
tcp 0 0 0.0.0.0:62643 0.0.0.0:* LISTEN 4738/wish
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 4274/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5666/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 4309/sendmail: acce

so we can see apache is running on port 80..
what else should i do?
 
Old 12-18-2003, 01:51 AM   #5
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
the command is

service iptables stop

or

/etc/init.d/iptables stop

The default install sets up a firewall, maybe you've passed to fast on that part.

What you can also do is portscan the machine, you'll see what ports are open.

hth
 
Old 12-18-2003, 08:31 AM   #6
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
My most frequent Apache problem....

My default directory for Apache is /var/www/localhost/htdocs. If I'm having an Apache problem it's usually because everything in htdocs needs to be owned by "apache" and needs to belong to group "apache".
I do this:
cd /var/www/localhost
chown -R apache htdocs
chgrp -R apache htdocs

That usually fixes it. HTH.
 
  


Reply



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
To enlarge viewable screen grautu SUSE / openSUSE 3 10-12-2005 09:28 AM
Home folder not browsable or viewable koflanagan Linux - Software 6 03-29-2005 01:46 PM
viewable outside shadz Linux - Networking 2 12-22-2004 04:50 PM
Rubbish Resolution - only viewable on 1024x768 Rikular Linux - Newbie 3 11-23-2004 02:13 PM
Are the tape's contents viewable? dtournas Linux - General 2 04-30-2004 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:07 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
Open Source Consulting | Domain Registration