CodePudding user response:
But in the virtual machine curl http://localhost can reveal the pageCodePudding 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 upCodePudding user response:
IP add a port after a try, virtual machine and real IP is not the same? Then see clear point.