服务器端推送消息,要设置代理


(tory128) #1

代理设置需要知道一下接口的端口号,有谁知道的吗
https://device.jpush.cn
https://api.jpush.cn
https://report.jpush.cn

代理设置是不是下面这个写法就可以了?
HttpProxy httpProxyUrl = new HttpProxy(“xxx.163.com”, 8080);
JPushClient jPushClient = new JPushClient(MASTER_SECRET, APP_KEY, httpProxyUrl, ClientConfig.getInstance());


#2

端口是 443