LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-15-2010, 02:34 PM   #1
fedix
Member
 
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 104

Rep: Reputation: 17
Question Can't access Linux Web server on LAN


Hi, I've got a FC13 linux and 3 windows pc's on my LAN. The linux has php/mysql (joomla) installed - acting as a web server.

I can ping the linux from any machine but can't access the web joomla installation on the linux with http://ip/joomla or with http://hostname/joomla. How can I fix this? Is it a security setting somewhere?

Thanks in advance.
 
Old 08-15-2010, 02:48 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Is the Web server listening on the machine's LAN IP?
 
Old 08-15-2010, 03:15 PM   #3
fedix
Member
 
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 104

Original Poster
Rep: Reputation: 17
not sure, how can I check?

Last edited by fedix; 08-15-2010 at 03:23 PM.
 
Old 08-15-2010, 04:26 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
sudo netstat -anp | grep ":80.*LISTEN"

If it's listening on * or :: or 0.0.0.0 or specifically on your LAN IP it should work.

You also need to define "can't access the web joomla installation." What's the error message when you try??

Last edited by AlucardZero; 08-15-2010 at 04:28 PM.
 
Old 08-19-2010, 03:30 PM   #5
fedix
Member
 
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 104

Original Poster
Rep: Reputation: 17
Thanks, I'm still struggling and tried a few things, even up to the point where I shut myself totally out and had to reinstall httpd.

On the listening question: yes, it appears so...
Quote:
tcp 0 0 10.0.0.5:80 0.0.0.0:* LISTEN 4615/httpd
What I mean with "can't access".... If I open my web browser from another machine in the lan, say 10.0.0.4, I can't see the default index.html in my var/www/html directory or my configured joomla directory. Browser just says... cant display the page as if it can't find it. But I can ping the linux server (10.0.0.5).

No firewalls. I think its either httpd.conf or apache.ini but don't know where and what.

Please help!
 
Old 09-30-2011, 03:18 AM   #6
ckonstantin
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Firewall

I had the same problem and i have solved it through allowing WWW(HTTP) and Secure WWW(HTTPS) Services from
System > Administration > Security Level and Firewall.

Good Luck
 
  


Reply

Tags
lan, linux, php, server, web



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
Cannot access own public web and mail server from LAN addresses lannyr Linux - Networking 14 08-06-2009 09:09 AM
How to access a web server in LAN karthickannamalai Linux - Newbie 4 06-12-2008 12:31 PM
IPTABLES How to access to web server on gateway from LAN? kozaki Linux - Networking 4 08-26-2005 11:27 AM
cannot access web server from LAN puding Linux - Newbie 11 09-07-2004 12:06 AM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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