A lot of people are shooting in the dark to resolve this issue, as I was doing also until today.
After having this error once again in Visual Studio .NET 2022 while trying to start my web projects, I tried the following and it worked ! :
In command line (non admin for me worked) :
ipconfig /release
ipconfig /renew
Sometimes, just keep it simple stupid and that is enough !