[英]Connecting to my laptops localhost from my USB connected android device
I have coded a C# MVC Internet Application with Visual Studio 2013 Express for Web on my laptop. 我已经在笔记本电脑上使用Visual Studio 2013 Express for Web对C#MVC Internet应用程序进行了编码。 I can compile and connect to this application with the following web address in my laptops browser: localhost:22101/
我可以在笔记本电脑浏览器中使用以下网址编译并连接到该应用程序:localhost:22101 /
I am wishing to connect to this address in an Android application that I have coded, but am having some trouble connecting to the localhost on my laptop. 我希望在我编写的Android应用程序中连接到该地址,但是在连接到笔记本电脑上的本地主机时遇到一些麻烦。 My laptop is connected with a USB cable.
我的笔记本电脑已通过USB电缆连接。
I have tried the following: 我尝试了以下方法:
My laptop and cell phone are both connected to the same wireless router. 我的笔记本电脑和手机都连接到同一无线路由器。
Is this possible? 这可能吗? Can I please have some help with this?
我可以帮忙吗?
Thanks in advance 提前致谢
The local development server doesn't respond to external requests. 本地开发服务器不响应外部请求。
You will need to run it on a full blown iis I'm afraid. 恐怕您将需要完全运行它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.