解决方案: 在config里面的index.js里面的module.exports下面的dev下面的host:'localhost' 改为 host:'0.0.0.0',就可以访问啦! 转载于:https://www.cnblogs.com/thankyouGod/p/8327514.html