Solution to the problem that the server webpage cannot be accessed after fedora19 is installed with apache

Source: Internet
Author: User
After fedora19 is installed with apache, the server webpage cannot be accessed. after the apache (httpd) service is installed in Fedora, server webpage inaccessible problem solved today I tried to use the yum command of the Fedora system on the virtual machine and self-makeinstall to install httpd (a fedora19 after apache is installed, the problem solved install apache (httpd) in the Fedora system) after the service, the server web page cannot be accessed. today, I tried to install httpd (apache2.4) on the virtual machine by using the yum command of the Fedora system and make install on my own ), after the conf file is modified on the local machine, localhost and 127.0.0.1 cannot be accessed, and then the httpd service is restarted. 1 service httpd restart and then access the IP address of this virtual machine in windows, but it cannot be accessed. I have known the limitations of iptable some time ago, so I wonder if iptable limits port 80! So I found the iptable command on the Internet and set Port 80 of tcp to allow access from any IP address: 1 iptables-I INPUT-p TCP -- dport 80-j ACCEPT and access it in windows. The webpage is displayed normally.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.