Use URL on Android throws IOException: Malformed ipv6 address

后端 未结 2 1319
小鲜肉
小鲜肉 2021-01-06 14:40

I want to send the data on the android emulator to the local host web, and get some results.

String temp = \"http://10.0.2.2:8888/json/rec?user_data=\" + use         


        
2条回答
  •  借酒劲吻你
    2021-01-06 15:18

    Probably because the host contains a colon, which it takes to mean this is a numeric IPv6 address

提交回复
热议问题