android why sending information to server works with WIFI only?

前端 未结 1 689
一向
一向 2021-01-21 03:54

I am sending information to a server via WIFI and everything works great.Now i want to send information to a server with mobile data too, and i do not know why only works with W

相关标签:
1条回答
  • 2021-01-21 04:21

    You cannot contact your server from the device's mobile network unless it is routable from the public Internet.

    A server running on your development machine or otherwise behind a NAT/firewall would typically only be accessible from your local network / wifi.

    0 讨论(0)
提交回复
热议问题