如何使用本地主机而不是IP地址 [英] how to use local host instead of ip address
本文介绍了如何使用本地主机而不是IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我使用iis服务器并创建一个虚拟目录.
当我想访问我的网站时,我使用了http://192.168.1.3/super,然后访问了我的网站,但是当我访问了http://localhost/super时,则看不到该网站.
请帮助我.
Hi
I use iis server and create a virtual directory.
When I want to access my web site then I used like http://192.168.1.3/super then i access my web site but when i used like http://localhost/super then the web site not seen.
Please help me.
推荐答案
要在本地主机中运行它,您应该包括开发服务器端口号,
例如:http://localhost:2335/super
为此,必须启动开发服务器,并将端口号分配给它.
For running it in local host , you should include the development server port number,
eg: http://localhost:2335/super
A development server must be started for this and the port number is asssiated to it.
这篇关于如何使用本地主机而不是IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文