LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-18-2008, 09:05 AM   #1
kewei
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
why does my apache server cannot work properly!!


i set up an apache httpt server in fedora 9,after it start,i only can acces it in my own pc ,it cannot work in other's ,some can help me out ????
 
Old 12-18-2008, 09:09 AM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
Hi, make sure you have your firewall setup correctly. There is a big possibility that INPUT on port 80 is blocked by default in the Fedora default settings:

You would need to add something like

iptables -A INPUT -s 0.0.0.0/0 -p tcp --dport 80 -m state --state NEW -j ACCEPT

and maybe then you need to run /etc/init.d/iptables save

If this doesnt work make sure your web server is not running on "localhost"

try netstat:

netstat -ntlap|grep -i 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN

and if it works fine should look like that.
 
Old 12-18-2008, 03:33 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Also make sure your ISP isn't blocking port 80 as well, or if you're behind some type of router like a Linksys, you need to forward port 80 to this server for others to access it.
 
  


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
Can't get NVIDIA X server to work properly AlexHeap SUSE / openSUSE 6 08-28-2007 02:30 PM
screwed up apache and now server won't work fidlet Linux - Software 3 08-10-2004 05:42 AM
mail server dosnt work properly AZIMBD03 Linux - Networking 4 04-11-2004 12:28 PM
need X server and DISPLAY to work properly -- dealing with Kazaa installed with wine sejem Linux - Software 2 03-27-2004 04:30 AM
apache or php doesn't work properly on RH8.0 abd_bela Linux - Networking 6 03-18-2003 05:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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