idea报错:Cannot download ‘https://start.spring.io‘: connect timed out

一、报错问题描述

Error message:
Cannot download ‘https://start.spring.io’: connect timed out

idea报错:Cannot download ‘https://start.spring.io‘: connect timed out

二、解决方法
遇到这个问题之后,在网上查看了很多解决方案,发现第一种方法是比较实用的,第二种方法可以作为简单的参考。

  • 第一种解决方法:添加aliyun地址,将默认的地址更改为aliyun地址

https://start.aliyun.com/

idea报错:Cannot download ‘https://start.spring.io‘: connect timed out
idea报错:Cannot download ‘https://start.spring.io‘: connect timed out

  • 第二种解决方法:查看防火墙是否对idea进行阻拦
    在安全中心中找到和防火墙相关的设置,具体操作可参看下图

idea报错:Cannot download ‘https://start.spring.io‘: connect timed out