vagrant has been installed and used for a long time, and the LNMP environment has been installed in the virtual machine, which can also be used, but today there is a strange phenomenon: after my vagrant up starts normally, I can"t access it suddenly. Ssh goes in and finds that the environment is also normal. It can be accessed normally in the virtual machine curl 192.168.1.105, and it is also possible to go to ping 192.168.1.105 in the cmd of win. The ip settings of
vagrantFile are as follows: config.vm.network "public_network", ip: "192.168.1.105"
win the cmd ipconfig results are as follows:
ifconfig:
:
I don"t know why this happened. I have been doing well before, please help me, thank you, and found a phenomenon that, vagrant up can be accessed normally after restarting the computer, but cannot be accessed once vagrant is turned off or vagrant is restarted.