(ext.) Apache extranet cannot access analysis and workarounds

Source: Internet
Author: User
Tags nginx server

Transferred from: http://blog.sina.com.cn/s/blog_6bb7ebcc0101g0aw.html

Description: Novice, with the completion of the effective, the machine may have a delay, remember, this delay is normal.

Apache installed later, in this machine can be used: http://localhost or http://127.0.0.1 to access, but the external network (relative to this machine, LAN also calculate) can not access.

This situation can be divided into two problems, the first one is in the LAN, the second country is on the Internet;

There are three situations that can cause this phenomenon,

1, the configuration file is not set up outside the network access;

2, firewall, the firewall of the computer itself prohibits the external network through 80 ports (the default, you can also customize other) access;

3, 80 port is not open to the external network, or LAN, or the Internet (external network firewall or other software);

If you configure the server is a remote host, and may be a virtual host, then must be clear, whether the open port 80 (the default, can be customized), or have a firewall restricted access, if there is, you may be through the IP link site will appear unexpected page, This is because the administrator through the management software will be your link to transfer, in the big you want to the site before the transfer, I have seen one is this, obviously my site is Apache, remote access when it shows Nginx Server page does not exist, I through the other side of the remote Link IP analysis (give the IP with a special port number), may also have a management software on the periphery of the server, limit the remote access, sure enough, notify the other side after the open limit, Apache can access the normal.

Solutions for the above three problems:

1, modify the configuration file, Apache configuration file httpd.conf has a default configuration: Allow from 127.0.0.1, modify it to: Allow from all;

2, the firewall caused by itself, at this time you can try to shut down the firewall, see if you can access, determine whether the problem is here, if it is, you need to configure the firewall, as follows:

Control Panel Open Firewall interface, click "Allow programs or features through Windows Firewall" in the upper left corner

See if Apache HTTP Server chooses a public network, chooses it, attempts an extranet link, and if not, proceed to the following action

Click "Allow another program to run" in the lower right corner, and then click "Browse" to find the Httpd.exe program "C:\wamp\bin\apache\apache2.2.22\bin\httpd.exe" add it;

3, how to know that the 80 port has been opened, and by the perimeter network management software blocked it?

A: In the local and external network to perform port scanning (http://tool.chinaz.com/port/), the intranet open 80, outside the network display 80 is not open, and the management software to prevent the 80 port information transmission; This problem can only be set by the administrator.

(ext.) Apache extranet cannot access analysis and workarounds

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.