Hi guys,
i am trying to setup the server on an AWS instance. I used this tutorial to set it up. My local.properties looks following:
# Kontalk server configuration
# if you edit this file you must rebuild your containers:
# ./launcher rebuild
INSTANCE_NAME=Master
# version/branch to build
VERSION=production
# XMPP parameters
XMPP_SERVICE=ec2-18-219-76-209.us-east-2.compute.amazonaws.com
XMPP_LISTEN_PORT=5222
XMPPS_LISTEN_PORT=5223
XMPPS2S_LISTEN_PORT=5269
# Database parameters
# kontalk database user password
MYSQL_PASSWORD=****
# root database user password
MYSQL_ROOT_PASSWORD=****
# database timezone
MYSQL_TIMEZONE=Europe/Berlin
# database initial baseline
# alter this only if you know what you are doing
DATABASE_BASELINE=1
# Other parameters
# Max upload file size
HTTPUPLOAD_MAX_SIZE=20971520
# HTTP listen port
HTTPUPLOAD_LISTEN_PORT=8828
# HTTP URLs
HTTPUPLOAD_PUT_URL=http://18.219.76.209/
HTTPUPLOAD_GET_URL=http://18.219.76.209/
# Backup location
BACKUP_PATH=/mnt/test_backup
When I check the logs (./launcher logs), I get this: https://pastebin.com/fhQFgFjk (Output was too big)
When I try to register with the Android app I get this error message:
2019-01-16 15:23:02.301 6225-10701/org.kontalk.debug E/NumberValidation: validation error.
org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: '18.219.76.209:5222' failed because: /18.219.76.209 exception: java.net.ConnectException: failed to connect to /18.219.76.209 (port 5222) from /192.168.2.188 (port 38867) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
at org.kontalk.client.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:637)
at org.kontalk.client.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:912)
at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:409)
at org.kontalk.service.XMPPConnectionHelper.connectOnce(XMPPConnectionHelper.java:193)
at org.kontalk.client.NumberValidator.initConnection(NumberValidator.java:750)
at org.kontalk.client.NumberValidator.run(NumberValidator.java:311)
at java.lang.Thread.run(Thread.java:764)
Can somebody give me hint what I am doing wrong?
Kind regards