【发布时间】:2017-11-01 02:47:48
【问题描述】:
I am not able to follow this .png file,posted for your reference
我有一个压缩文件提取到以下位置,C:\Program Files\WAMP\ht docs\VideoUsingWebComponents,根据上传的图像文件创建在这里。在我应该打开 index.html 文件的文件夹中一个网络服务器,只需单击 html 文件,浏览器就会打开 file:///C:/Program%20Files/WAMP/ht%20docs/VideoUsingWebComponents/index.html, 我希望它以上传图片中指示的http://localhost:8080...as 打开,所以我尝试像这样更改上面的链接, http://localhost:8080/C:/Program%20Files/WAMP/ht%20docs/VideoUsingWebComponents/index.html,但 localhost 拒绝连接。 我使用的是 windows pc,此处显示的图像是 Mac。请帮助使用 Web 服务器打开 index.html 文件。 谢谢
【问题讨论】:
-
请更好地格式化您的问题。这令人困惑。您是否安装了网络服务器?除非您正在运行 Web 服务器,否则您将无法访问
localhost:8080。