powered by Jive Software

I am very new to the smack API, can you please help on starting on this?

I am just running the following code given in the site for connecting to GoogleTalk.

GoogleTalkConnection con = new GoogleTalkConnection();

con.login(“uname”, “password”);


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?

Hi Archana,

Can you check the following:

  1. The username and password are valid.

  2. The buddy that you are trying to chat is actually present on your buddy list?