LinuxQuestions.org
Review your favorite Linux distribution.
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 09-02-2003, 11:09 AM   #1
lanzdale
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
Unhappy Apache works on local machine, not LAN


I'm a .net expert trying to learn Linux/Apache/php .

Got Apache 2 running on a workstation in my small Lan. Apache tests OK on local machine.

localhost/index.html and
192.168.1.105/index.html (the Apache machine local address)
both work.

But from the windows client browser "The page cannot be displayed".

I know the machines are connected because the Linix machine can browse pages being served by the Microsoft machine (PWS).
Also ping from the microsoft client to the Linux server works.

Is there something else to be configured in Linix itself, or something that needs to be done to allow external access?

When I run netstat -a there are no tcp tasks.

Is there any good reference for this setup stuff?
 
Old 09-02-2003, 12:08 PM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Check your iptables and your blocked and allowed hosts.
THer'es a previous question on this and i'll just reference that for brevity

http://www.linuxquestions.org/questi...003/04/2/53940

It's specifially for banning IPs but just do the reverse.. like hosts.deny hosts.allow
Enjoy
Happy networking
 
Old 09-02-2003, 06:12 PM   #3
lanzdale
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Looked at those. As expected, in this new install, both files hosts.deny hosts.allow were empty (except for comments).

Just in case I put an ALL : ALL line in the hosts.allow and restarted, no luck.
 
Old 09-02-2003, 09:16 PM   #4
lanzdale
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I figured it out. A stupid firewall in Linix. I see people all over the place with the same problem. Some have figured it out and they call it iptables of something.

In red hat under on my xwindows menu it's the following:

Start / System Settings / Security Level

Check allow incoming http.

Suddenly your Apache can be seen from the outside world!.
 
  


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
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
Setup local machine to allow lan machines to retrieve its local user mail. Brian1 Linux - Networking 3 03-30-2006 05:04 AM
Run tomcat on a local machine through apache indika Linux - Software 0 01-11-2005 02:48 AM
Apache server works, but only on my local network munchies Linux - Networking 4 04-07-2004 09:18 AM
using apache in redhat 9, works through lan but... ilyash Linux - Software 6 10-21-2003 09:34 PM

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

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