Someone recently told me how to fix the issue. This is what I did: Search "Windows Defender Firewall" -> Click on "Allow an app or feature through Windows Defender Firewall" -> Scroll down until you find "Java(TM) Platform SE Binary" (there might be a couple of them) -> Make sure the check is only on private not public.
It hasn't kicked me for more than a couple of days! I hope it continues to work!
Someone recently told me how to fix the issue. This is what I did: Search "Windows Defender Firewall" -> Click on "Allow an app or feature through Windows Defender Firewall" -> Scroll down until you find "Java(TM) Platform SE Binary" (there might be a couple of them) -> Make sure the check is only on private not public.
It hasn't kicked me for more than a couple of days! I hope it continues to work!