[英]Android-Device and Emulator cannot reach an internal Web-Server
I have a Web-Server http://my-server.com in my network which cannot be reached with my android device and android developer. 我的网络中有一个Web服务器http://my-server.com ,我的android设备和android开发人员无法访问。 The Web-Server is only accessible in my network, so I can open pages from my desktop pc but the android devices cannot find the web server when i try with their browser. 该Web服务器只能在我的网络中访问,因此我可以从台式机打开页面,但是当我尝试使用其浏览器时,Android设备找不到该Web服务器。
Are there any DNS Settings which I can adjust so that the devices can reach my server? 是否有可以调整的DNS设置,以便设备可以访问我的服务器?
Thanks 谢谢
Use with your local server IP address : 与您的本地服务器IP地址一起使用 :
http://192.155.1.66
or, if its running on specific port then, 或者,如果它在特定端口上运行,
http://192.155.1.66:3001
Thanks. 谢谢。
您是否在清单文件中授予了以下权限
<uses-permission android:name="android.permission.INTERNET"/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.