javascript - XAMPP:无法从智能手机 (iPhone) 加载访问 url 的资源

标签 javascript html css xampp

我在运行 XAMPP 的 Mac 计算机上有一个带有一些 css 和 js 的 html。

当我尝试从我的 iPhone 访问 192.168.0.108(我的 IP 地址)时,我可以看到 html,但它没有任何 css 和 js。

在我的检查器中出现(用谷歌翻译翻译):

Failed to load resource: The certificate for this server is invalid. It is possible that you are dialing in to a server that claims to be "192.168.0.108", which could put at risk the confidentiality of your information.

我试图在我的 ip 末尾添加 :80 但没有。 有人可以帮助我吗? 谢谢!

[已解决] 只需在 URL 前添加 http://

最佳答案

只需在网址前加上http://

关于javascript - XAMPP:无法从智能手机 (iPhone) 加载访问 url 的资源,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40350546/

相关文章:

internet-explorer - 如何让 PIE(IE 的 CSS3)工作?

javascript - 针对输入到表单输入字段中的特定文本并为其添加样式?

javascript - 从嵌套对象创建时对设置外键进行 Sequelize

javascript - 如何在appium中找到div按钮(sencha按钮)

jquery - 嵌套表格响应对齐

html - 我们如何一次为 1 个 div 应用 3 个类?

javascript - jQuery Masonry 可以垂直而不是水平定向 div 吗?

javascript - FireStore,在Web客户端进行CRUD操作安全吗?

php - 将表格行更改为链接

jquery - css jquery 文本溢出省略号不起作用