Good stuff man.
public final static String SERVER_ADDRESS = "192.168.19.50";
public final static String SERVER_HOST = "local.server";
final XMPPTCPConnectionConfiguration connectionConfiguration = XMPPTCPConnectionConfiguration.builder()
.setServiceName(SERVER_HOST)
.setHost(SERVER_ADDRESS)
.setPort(SERVER_PORT)
.setCompressionEnabled(false)
.setDebuggerEnabled(true)
.setSecurityMode(ConnectionConfiguration.SecurityMode.disabled)
.build();
You both were right.
It seems that you can connect to the server with Address, but you need Host for authentication on the server.
Is that right?