I am just running the following code given in the site for connecting to GoogleTalk.
GoogleTalkConnection con = new GoogleTalkConnection();
con.login(“uname”, “password”);
con.createChat("user@gmail.com").sendMessage(“Howdy!”);
I am getting the following Error message:
ExceptionXMPPError connecting to talk.google.com:5222.: (502)
– caused by: java.net.ConnectException: Connection refused: connect
Can you please help on this?
My system is located in internet also?