for me I was using Sequoia on VMWare when I got this error. go to the network settings in Windows and find the driver name you're using (WIFI or ethernet) and choose the same one in the VMWare -> Virtual Network Editor (press Change Settings)
then choose the same one from the drop down. it should work.