Your online video game may be blocked by your computer's firewall. To let the game through the firewall, open Control Panel. Click on System and Security.
In the System and Security window, you will find “Allow an app through Windows Firewall” under the “Windows Defender Firewall” category (you will be allowing your gaming app through the firewall).
In the Allowed Programs window, click the Change Settings button. Then, scroll down the list of apps until you see your gaming app. Check the “Home/Work (Private)” and “Public” boxes for the gaming app and click OK.
Then, try your game again.