简体   繁体   English

如何在我的PC(Windows 7)中运行本地html文件到iPhone上的Safari Web浏览器?

[英]How to run a local html file which is in my pc (Windows 7) to safari web browser on my iPhone?

I want to run my local html file which is saved on my desktop, on Safari of my iPhone. 我想运行保存在桌面,iPhone的Safari上的本地html文件。 I have a local web server running on my system (xampp) as well as I have opened the ports(on which the file is running) required through my firewall. 我的系统(xampp)上正在运行本地Web服务器,并且已经打开了通过防火墙所需的端口(正在运行文件的端口)。 Is there any other settings I need to do on my iPhone also? 我还需要在iPhone上进行其他设置吗?

Please explain how to run the file. 请说明如何运行该文件。 Thanks in advance! 提前致谢!

If your ISP provides a dynamic IP address you'll need to look into a service which overcomes this, for example No IP . 如果您的ISP提供了动态IP地址,则您需要研究可以克服此问题的服务,例如No IP That way all you'll need to do is type in the domain provided to get to your web app. 这样,您所需要做的就是输入提供的域名以进入您的Web应用程序。

Therefore, instead of accessing http://123.123.123.123:8080 you simply run http://your-new-domain.com:8080 . 因此,您无需运行http://123.123.123.123:8080 ,而只需运行http://your-new-domain.com:8080

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我在桌面上的Safari中运行iPhone Web应用程序时,什么导致某些图标不显示? - What causes some icons not to appear when I run my iPhone web app in Safari on the desktop? iPhone应用程序只是一个本地HTML文件,怎么样? - iPhone app which is only a local HTML file, how? 如何使用iPhone操作PC? - How can i operate my pc using my iphone? 如何使用iPhone访问PC本地主机和Internet? - How to access my PC localhost AND internet with my iPhone? 如何在iPhone Safari网页浏览器中播放mp3文件? - How to get mp3 files to play in iPhone Safari web browser? 如何在Web浏览器和XCode中使用JavaScript运行HTML文件? - How to Run the HTML file with JavaScript in Web Browser and XCode? 当用户单击“主页”按钮时,如何播放声音文件并在后台运行? - how to play sound file which is on my web server and run in background when user click “Home” button…? 无法在iPhone Safari浏览器上设置本地存储 - Cannot set local storage on iphone safari browser 如何在我的监狱中运行我的应用程序 - How to run my application on my jailBreaked iPhone HTML5:为什么我的本地数据库无法在移动 Safari 上运行? - HTML5: Why wont my local database work on mobile Safari?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM