adminoob Posted March 20, 2009 Share Posted March 20, 2009 Hello, I've never set up a web server before, but I followed instructions to set up Apache web server on a Fedora Core 10 machine, and I can't quite get it working properly. I set up everything fine, changed the permissions for the /var/www/ folder, and I can access any web pages in the folder through http://localhost/ or http://192.168.1.131/ from the browser on the server itself. SELinux gave me a couple errors at the start but it hasn't notified me of anything since I fixed them (it was only permissions stuff). I can't, however, access it from anywhere else on the LAN, or over the internet. My network setup is DSL->router->Server. My ISP does not block port 80, and port 80 is forwarded through the router. (And I'm pretty sure the router's port forwarding works as I *can* ssh into the server over the internet, with its port forwarded) Yet when I check with online port forwarding checkers they tell me the port is closed. I've tried changing apache to different ports with the same results. I'm totally out of ideas... Any help would be greatly appreciated. Cheers Quote Link to comment https://forums.phpfreaks.com/topic/150244-port-80-inaccessible-apache-fedora/ Share on other sites More sharing options...
corbin Posted March 20, 2009 Share Posted March 20, 2009 You are using your WAN IP from the outside, yes? Besides that, what is Listen set to in httpd.conf? Quote Link to comment https://forums.phpfreaks.com/topic/150244-port-80-inaccessible-apache-fedora/#findComment-789027 Share on other sites More sharing options...
adminoob Posted March 20, 2009 Author Share Posted March 20, 2009 After a fashion. I'm using no-ip because I don't have a static WAN IP, but I can use the url from the service to SSH from over the internet, so there probably isn't any problem with that. Interestingly, though, I did encounter problems when changing the SSH server from the default port--it also mysteriously stopped working. (And I remembered to change the forwarding and all that, too.) Perhaps I'm overlooking something? I'm kind of a nub at this, but I followed all the steps various internet guides outline. And yeah, httpd.conf is set to listen on 80. When I try to get there in Firefox it gives me Connection Interrupted The document contains no data. The network link was interrupted while negotiating a connection. Please try again. :| Quote Link to comment https://forums.phpfreaks.com/topic/150244-port-80-inaccessible-apache-fedora/#findComment-789731 Share on other sites More sharing options...
corbin Posted March 21, 2009 Share Posted March 21, 2009 Is the firewall on Fedora open? You might need to change iptables. Also, you might have to restart the iptables service after making changes. Quote Link to comment https://forums.phpfreaks.com/topic/150244-port-80-inaccessible-apache-fedora/#findComment-790093 Share on other sites More sharing options...
adminoob Posted March 29, 2009 Author Share Posted March 29, 2009 Thank you so much! You were bang-on. I had to figure out how to use the firewall properly and iptables (tutorials are lengthy and a bit of a nightmare)... Quote Link to comment https://forums.phpfreaks.com/topic/150244-port-80-inaccessible-apache-fedora/#findComment-796375 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.