Error: connect ECONNREFUSED 127.0.0.1:80
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210623211557562.png)
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210623211852347.png)
报错的完整代码
import React from 'react';
import PropTypes from 'prop-types';
import axios from 'axios';
const Index = props => {
return <div>Index</div>;
};
Index.propTypes = {
};
Index.getInitialProps = async () => {
# 请求地址为:/github/search/repositories?q=react