No contact with server

Making an Android app, I can’t make a connection. I want absolutely use an IP-address, no URL.

private void makeConnection() {

ConnectionConfiguration config = new ConnectionConfiguration(“123.123.123.123”, 5222, “vps22717.example.com”);

Connection conn = new XMPPConnection(config);

try {

conn.connect();

} catch (XMPPException e) {

Log.i(TAG, “No connection”);

}

}

The server is up and running, everything is fine using the Flash/Flex client I’ve made but I only got the message in the log: No connection.

What am I doing wrong?

Thanks for your help