作者faithfay (夢遺大師)
看板java
標題[問題] GOOGLE TALK SERVER是不是連不到了[已解]
時間Sat Aug 16 23:25:29 2014
大家好
我用XMPP的library去連google talk server 173.194.70.125:5222
以前都可以正常的去發訊息
不過最近好像被檔了 有人知道原因嗎??還是改了捏?
附上程式碼
ConnectionConfiguration config = new ConnectionConfiguration("173.194.70.125", 5222, "173.194.70.18");
config.setCompressionEnabled(true);
config.setSASLAuthenticationEnabled(true);
Connection connection = new XMPPConnection(config);
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.165.203.151
※ 文章網址: http://www.ptt.cc/bbs/java/M.1408202731.A.2E3.html
推 haocheng: 有回傳 error code 嗎?錯誤訊息? 08/17 09:36
→ faithfay: connection timeout..... 08/17 11:12
→ sunneo: talk.google.com現在仍是173.194.70.125嗎 08/17 17:26
推 Killercat: 不是72.125嗎? 08/18 00:02
→ faithfay: 我去ping talk.google.com得到74.125.203.125改後正常了 08/18 09:36
→ qrtt1: 為什麼不用 domain name ? 08/18 10:06
※ 編輯: faithfay (59.124.124.7), 08/18/2014 10:27:15
※ 編輯: faithfay (59.124.124.7), 08/18/2014 10:27:56