通过服务的方式打开html文件 1、直接搜索Live Server安装插件 2、修改默认端口 文件=>首选项=>设置=>搜索Live Server=>找到Settings:Port=>在settings.json中编辑=>输入新端口 相关文章: