apache server cannot be accessed from other computers in LAN
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408
Rep:
apache server cannot be accessed from other computers in LAN
Hi,
I have installed OpenSuse on my machine and installed apache which is working properly.
I can see the test page from my computer, but I am not able to see that page from other computers connected to the same network. I have scanned my open ports and I can see port 80 open.
Is there anything I am missing in apache configuration file?
Hi,
I have installed OpenSuse on my machine and installed apache which is working properly.
I can see the test page from my computer, but I am not able to see that page from other computers connected to the same network. I have scanned my open ports and I can see port 80 open.
Is there anything I am missing in apache configuration file?
do you have any firwall or something on. chek that out as well
Can you show us how you are verifying that port 80 is open? You should see something like this "0.0.0.0:80". Also, run 'iptables -L' to see if your firewall is blocking it.
This may sound stupid, but which ip are you using to connect to your computer? Does it start with 192.168? Are you using the external ip? If you're using the external ip you have to forward port 80 to the router.
Ah, okay that's the problem. You need to find out the local ip of your box. Pop open a shell and hit "ip addr". That should bring up your network ip address. You want the one that starts with "192.168.x.x". If you direct other computers in your network to that ip it should work smoothly.
The only thing is, this will not work outside of your network. To do that, you'll need to forward some ports. Let me know if you need to do that and I can help with that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.