error connection refused

前端 未结 5 898
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 01:37

I want to make an Http Connection to my own servlet. Here is my code:

try
{
    HttpClient client = new DefaultHttpClient();
    HttpPost httpMethod = new Ht         


        
5条回答
  •  Happy的楠姐
    2020-11-30 02:22

    I had the same problem but I solved it by putting in the following label said

    
    

    which allowed me to connect to the Internet.

提交回复
热议问题