Home > OS >  For help: the network can not access LAMP erection site (local area network can access)
For help: the network can not access LAMP erection site (local area network can access)

Time:10-03

I use the LAMP (CentOS7) set up a test site, the firewall open ports 80 and 8080, the router network mapping, HTTPD. Set in the conf & lt; The Directory/var/WWW/html>" Also Allow the from all, within the local area network (LAN) can access the website should have no problem (prove), but just can not access the net, baidu and BBS tried many methods (including closed firewall) no, the question has bothered me a lot of days, haven't solved, hope everyone a great god to give directions, thank you!

CodePudding user response:

Outside the net export has a firewall? You are access IP networks outside? These is no problem, look at the map if you have any questions, try other port mapping, such as 22

CodePudding user response:

reference 1st floor zhouchao6 response:
outside the net export has a firewall? You are access IP networks outside? These is no problem, look at the map if you have any questions, try to other port mapping, such as 22


21 FTP port and port 22 SSH access networks outside all have no problem to normal connection access, is 80/8080 port has a problem, after close the firewall and empty iptables - F rules or so, don't know where is the problem!

CodePudding user response:

refer to the second floor jwing response:
Quote: refer to 1st floor zhouchao6 response:

Outside the net export has a firewall? You are access IP networks outside? These is no problem, look at the map if you have any questions, try to other port mapping, such as 22


21 FTP port and port 22 SSH access networks outside all have no problem to normal connection access, is 80/8080 port has a problem, after close the firewall and empty iptables - F rules or so, don't know where is the problem!


Is that you try to modify the port a try, see port problem, or service

CodePudding user response:

Another 90 ports can use outside network access, thank you!
Later use http://tool.chinaz.com/port/port scanning tool scanning ports 80 and 8080 is closed, I set up a new port 90 is open an account, don't know where to set the problem!

CodePudding user response:

Jwing
reference 4 floor response:
another port 90 can use outside network access, thank you!
Later use http://tool.chinaz.com/port/port scanning tool scanning ports 80 and 8080 is closed, I set up a new port 90 is open an account, don't know where to set the problem!


If these sensitive port operator is blocked by default

CodePudding user response:

reference 5 floor zhouchao6 reply:
Quote: refer to 4th floor jwing response:

Another 90 ports can use outside network access, thank you!
Later use http://tool.chinaz.com/port/port scanning tool scanning ports 80 and 8080 is closed, I set up a new port 90 is open an account, don't know where to set the problem!


If these sensitive port operator is blocked by default


WAMP before I use the peanut shells of Intranet through version, access to port 80, changed the LAMP is not line, I guess I don't know where to set the problem!

CodePudding user response:

Operators default shielding your 80, want to open need to put on record,
Peanut shells Intranet through version used, but is estimated to be in the peanut shells did it himself reverse proxy, visitors to access the peanut shell, then forwarded to your network, judgment method is simple, have access to the IP and your public IP is the same (9 into 9 is not the same

CodePudding user response:

refer to 7th floor X - I - n reply:
operators default shielding your 80, to need to put on record,
Peanut shells Intranet through version used, but is estimated to be in the peanut shells did it himself reverse proxy, visitors to access the peanut shell, then forwarded to your network, judgment method is simple, have access to the IP and your public IP is the same (9 into 9 is not the same)


Estimate is that I am using the free version, only 2 g traffic per month, the bandwidth of the 1 m!
  • Related