So I've been dealing with this for two God-forsaken days now. My minecraft launcher keeps telling my I have no internet connection, even though I do, otherwise I wouldn't be making this post among other things.
So far I have tried :
Logging in and out
Deleting .minecraft files and reinstalling minecraft from the microsoft store (around 4 times now)
Restarting the computer several times
Using ipconfig /flushdns in cmd and restarting the computer afterwards

Frankly, I have no idea what the problem here could be. Just today after reinstalling for the fourth time, it decided to work, but after turning it off and on again, it said "F\* you" and has me asking for money and an internet connection again. Help would be greatly appreciated

Help with minecraft launcher internet connection error.