search

Home  >  Q&A  >  body text

android - 安卓应用使用移动网络无法连接到服务器,而WIFI可以,可能是什么原因?

项目中使用的网络请求框架是比较老的asyncHttp,有碰到过类似问题的朋友吗?把ip地址换成域名以后是可以连接到的,有想法的朋友提供点思路啊

怪我咯怪我咯2772 days ago657

reply all(6)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 18:00:59

    Your server is not deployed to the external network, but your wifi is connected to the internal network, and the wireless belongs to the external network

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 18:00:59

    I can’t think of anything. It feels like there are restrictions on the intranet?

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 18:00:59

    Your IP address interface is on the intranet, right?

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 18:00:59

    The IP address belongs to the internal Internet cafe, so it’s normal that you can’t connect.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 18:00:59

    It may be that the mobile phone has disabled the use of mobile network data by the app, and you are worried about using up the data. Now many mobile phones can set it up. Check it out.

    reply
    0
  • 迷茫

    迷茫2017-04-17 18:00:59

    Has your problem been solved? This problem also occurred here. The mobile network is not available, but wifi and China Unicom are all available

    reply
    0
  • Cancelreply