I am just running the following code given in the site for connecting to GoogleTalk.
GoogleTalkConnection con = new GoogleTalkConnection();
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?