'HTTP Host Availability issue found when I run flutter doctor command after updating to 2.10

[!] HTTP Host Availability
    X HTTP host https://maven.google.com/ is not reachable. Reason: An error occurred while checking the HTTP host: Failed host lookup:
      'maven.google.com'
    X HTTP host https://pub.dev/ is not reachable. Reason: An error occurred while checking the HTTP host: Failed host lookup: 'pub.dev'    X HTTP host https://cloud.google.com/ is not reachable. Reason: An error occurred while checking the HTTP host: Failed host lookup: 
      'cloud.google.com'

! Doctor found issues in 1 category.

This error is found when my PC is not connected to internet, and if I connect my PC to the internet and run the command again no issue is found. Is it ok or is this a problem, please guide me.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source