Home > OS >  Virtual machine nginx is turned on, the computer can't access
Virtual machine nginx is turned on, the computer can't access

Time:10-05

Centos6.5, nginx has begun to set up the IP address of the computer and the virtual machine is the same, the iptables also stopped, also do not complain, but there is no page on the browser input IP and

CodePudding user response:

But in the virtual machine curl http://localhost can reveal the page

CodePudding user response:

Virtual machine IP why like computer,,,,
You use NAT network, it must have something to do with the computer is not a network segment; Use bridge network, with computers in a network segment, also won't be the same IP; The host - only with a computer is not the same network segment

CodePudding user response:

, firewall iptables -f clear up

CodePudding user response:

IP add a port after a try, virtual machine and real IP is not the same? Then see clear point.
  • Related