Unity is unable to detect my internet

Does anyone over here know why my unity is not detecting my internet? My internet is working fine I tried reinstalling unity but it’s the same I need to find solution to it as I want to add unity services to my game.

You either have a weak internet connection, or something’s blocking your connection to Unity servers (firewall, proxy, antivirus, etc).

@Nighfox you were right firewall was blocking my connection but even when I allowed connection to unity through firewall the problem is there