[英]how to access tomcat server from android app over usb cable?
I have developed servlet on apache tomcat which is having mysql connectivity. 我已经在apache tomcat上开发了servlet,它具有mysql连接。 and android client app.
和Android客户端应用程序。 its working fine on emulator with url: http://10.1.10.203:8080/myServlet .
它的工作正常在模拟器上使用url: http : //10.1.10.203 : 8080 / myServlet 。 but now i want to deploy this app on actual device using usb cable.
但现在我想使用USB电缆在实际设备上部署此应用程序。 how i can i do this??
我怎么能这样做? how to access ip of pc using android device over usb cable????
如何使用Android设备通过USB电缆访问电脑的IP?
使用设备Wi-Fi连接到PC注册的同一网络。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.