Local projects that want to access their computers via LAN IP

Source: Internet
Author: User
Tags root access
Apache has been configured, last week can also be used, this week to visit, no error, nothing, has been loaded into the time-out of the great God to help you

The supplemental native can access the firewall and also shuts down the

Reply content:

Apache has been configured, last week can also be used, this week to visit, no error, nothing, has been loaded into the time-out of the great God to help you

The supplemental native can access the firewall and also shuts down the

If the machine can be accessed, but the replacement machine can not be, should be two machines network reasons.
1. Verify that two machines are on the same LAN and that the client can ping the server successfully
2. Check if there is a configuration in Apache that allows only local hosts to allow access, such as if there is an order, Deny, let limit, etc.

Look for namevirtualhost, see if there is IP in the back, some words change to *

Add: Look at all Apache configurations, find 127.0.0.1, and change to your IP or *

Ditto, add: You can use the # number to comment out Listen lines, such as
# Listen 127.0.0.1:80 # This is written to allow only native access
or change into
Listen 0.0.0.0:80
This will allow access from all IP

View the next gateway.

Visual 80 port is occupied

If Apache fails to boot, check port, port not occupied, check if installation is correct, WIN10 may require administrator privileges to install Apache.

If this machine is accessible, the LAN is inaccessible and the firewall is checked.

If the access prompt does not have permission, check root access in hpptd.conf.

This is generally the case that the IP address has changed, this machine you through localhost or 127.0.0.1 access is certainly not a problem.
LAN last week can also access if not adjust the network, theoretically should also be able to access only, then it is likely that the IP is obtained through DHCP, after a week, the IP lease period has been, the native IP has changed.
It is recommended that you check the native IP with ipconfig (Windows system) or Ifconfig (Linux), and then check the IP that is accessed on other machines on the LAN.

  • 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.