简体   繁体   English

从通过USB电缆直接与Windows机器连接的移动电话访问IIS网站

[英]Accessing an IIS Website from a mobile phone that is connected via usb cable directly with the windows machine

You may find this question very odd but these days we have all sorts of windows and mobile phone apps. 您可能会发现这个问题非常奇怪,但现在我们有各种各样的Windows和手机应用程序。 Although googling it didn't help but I thought may be someone somewhere knows the answer. 虽然谷歌搜索它没有帮助,但我认为可能是某个人知道答案的人。

Is it possible to access an IIS hosted website on a mobile phone. 是否可以在手机上访问IIS托管的网站。 Mobile phone is connected to the windows machine via usb cable. 手机通过USB线连接到Windows机器。 If it is possible then what is the procedure please. 如果有可能那么请程序是什么。

IIS Website is written in asp.net mvc 4 razor with c#. IIS网站是用asp.net mvc 4 razor用c#编写的。 Unfortunately the network does not have a wifi so connecting to the windows machine via wifi is out of the question. 不幸的是,网络没有wifi,所以通过wifi连接到Windows机是不可能的。 I am administrator of my windows machine. 我是我的Windows机器的管理员。 At the moment, it is also not possible to host the website on the server and make it available over the internet. 目前,也无法在服务器上托管该网站并通过互联网提供该网站。 My phone is latest android. 我的手机是最新的android。

In simple words, I have a website that is hosted on IIS and the phone is connected to the machine via usb and I want to browse the website from my phone. 简单来说,我有一个托管在IIS上的网站,手机通过USB连接到机器,我想通过手机浏览网站。

Some ideas from the top of my head: 我头脑中的一些想法:

  • If your mobile phone has internet access and you can access your network router (or you can ask your admin to do this for you) than you could just simply forward a port to your PC and connect from internet to your router with appropriate port. 如果您的手机可以访问互联网并且您可以访问您的网络路由器(或者您可以让管理员为您执行此操作),那么您只需将端口转发到PC并通过适当的端口从Internet连接到路由器。 Please look into your router manual for more details 请查看您的路由器手册以获取更多详细信息
  • You can also buy cheap usb wifi key that you can use with your PC as set up direct connection with your phone 您还可以购买便宜的usb wifi密钥,您可以将其与PC配合使用,直接与手机连接
  • Depending on your mobile phone OS you can actually share internet connection (so probably at the same time give your phone access to your local PC) by using 3rd party software and some hacks - this is one for Android but requires rooted OS http://www.howtogeek.com/117118/how-to-connect-your-android-to-your-pcs-internet-connection-over-usb/ 根据您的手机操作系统,您实际上可以通过使用第三方软件和一些黑客来共享互联网连接(因此可能同时让您的手机访问您的本地PC) - 这是Android的一个但需要root操作系统http:// www.howtogeek.com/117118/how-to-connect-your-android-to-your-pcs-internet-connection-over-usb/

Good luck! 祝好运! :-) :-)

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

相关问题 正在通过ActiveSync连接的Windows Mobile手机上读取SMS消息? - Reading SMS messages off Windows Mobile phone connected via ActiveSync? 通过连接了USB的电话发送短信 - Send SMS via phone connected with USB Windows CE 6.0通过USB串行电缆发送数据 - Windows CE 6.0 send data via USB-Serial Cable 从不同项目访问Windows Phone上的Azure移动服务 - Accessing Azure Mobile Service on Windows Phone from Different Projects 如何在Windows Phone(8.1)上创建一个可以通过USB线访问的简单文本文件? - How can I create a simple text file on a windows phone (8.1) that can be accessed trough USB cable? 如何在Windows Forms应用程序中检测连接到USB的移动设备(Iphone)? - How to detect mobile device(Iphone) connected to USB in windows forms application? .Net类以检测通过电缆连接的计算机 - .Net classes to detect machines connected via cable Phone App不会保留在手机的导航堆栈中,但通过USB连接到VS时会保留 - Phone App doesn't stay in navigation stack on phone, but does when connected to VS via USB 尝试通过C#中的Zebra SDK从Windows Mobile仿真器连接到USB Zebra打印机 - Trying to connect to an USB Zebra printer from a Windows Mobile emulator via the Zebra SDK in C# 我想通过 dotnet core 和 ATAPI 库从我的本地机器拨打手机到手机 - i want make a call from my local machine to mobile phone via dotnet core and ATAPI library
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM