Java unknown host exception

前端 未结 3 685
广开言路
广开言路 2021-01-07 21:59

I am trying to access textalertapp.com via HTTP Post request from my android application. But I am getting Unknown host error. Can anybody help me solve this issue.

3条回答
  •  青春惊慌失措
    2021-01-07 22:38

    This means that your host is unknown, i.e. does not exist or is not accessible. Check you IP again and check whether you can get this IP from your device. Probably this IP exists in your local network and is not accessible from outside.

    If IP exists check firewall definitions. Firewall cause the same effect.

提交回复
热议问题