如何查看“localhost”在我的iPod touch上 [英] how to view "localhost" on my iPod touch
本文介绍了如何查看“localhost”在我的iPod touch上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个我在localhost上建立的网站:
I have a website I am building on localhost:
http :// localhost / my-website
我需要在iPhone上测试它,但我不知道如何去做。我只是更改我的httpd-vhosts.conf文件,如果是,那么设置是什么?
I need to test it on my iPhone, but I'm not sure how to go about it. Do I just change my httpd-vhosts.conf file, and, if so, what are the settings?
推荐答案
假设你的开发机器名为 my-macbook-pro
,您应该能够导航到 http://my-macbook-pro.local/mywebsite
Assuming that your development machine is called my-macbook-pro
, you should just be able to navigate to http://my-macbook-pro.local/mywebsite
on your iPhone.
这篇关于如何查看“localhost”在我的iPod touch上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文