LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't access Linux Web server on LAN (http://www.linuxquestions.org/questions/linux-networking-3/cant-access-linux-web-server-on-lan-826381/)

fedix 08-15-2010 02:34 PM

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.

AlucardZero 08-15-2010 02:48 PM

Is the Web server listening on the machine's LAN IP?

fedix 08-15-2010 03:15 PM

not sure, how can I check?

AlucardZero 08-15-2010 04:26 PM

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??

fedix 08-19-2010 03:30 PM

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!

ckonstantin 09-30-2011 03:18 AM

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


All times are GMT -5. The time now is 05:46 AM.