'No access to web or mysql on vagrant after upgrading to macos monterey

Last week I decided to upgrade the mac to the latest version Monterey. Well. Most things works, except for Vagrant. Well.. it works, except there is almost no connection to the server.

vagrant ssh works.

I have been able to launch virtualbox, but access to http or mysql is not happening. I know the mysql-server is running. The same goes with the apache server.

Logs have been checked and I cannot see that any traffic going to the server.

Ping is not working.

I have updated virtualbox. I have destroyed the box and upgraded vagrant / homestead. still no luck.

MORE INFO:

When I run traceroute I see that the first hit is the correct IP I have set in hosts file. Then it goes to 192.168.0.1 which isn't going anywhere.

I guess the 192.168.0.1 comes from the mac virtualbox / vagrant is running on.

Any pointers on what to do next are welcome.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source