Cannot assign requested address: JVM_Bind
不能分配当前端口。被java占用了

解决方案 »

  1.   

    Cannot assign requested address: JVM_Bind
    端口号占用,换个端口号试试
      

  2.   

    InetAddress localAddress = InetAddress.getByName(pb.getIp()); HttpClient httpClient = new HttpClient(manager); httpClient.getHostConfiguration().setLocalAddress(localAddress);

    我直接把IP带入到InetAddress里面
    如: InetAddress.getByName("111.1.1.1");
         然后放入到HttpClient里面翻墙发送请求
         我debug调试在执行 请求get的时候就出异常了