rroemhild / docker-ejabberd

Dockerfile for Ejabberd server
MIT License
268 stars 160 forks source link

How to connect from xmpp client on docker host? #170

Closed joustava closed 6 years ago

joustava commented 6 years ago

Hi thanks for this repo. I'm trying out some different xmpp servers (playing around as I'm new to it) and this one seemed the easiest to get up and running. The server runs with the default docker-compose example, and I can telnet to it with telnet localhost 5222. Only use case for now is just to run it locally.

But how would I connect to this from a xmpp client profanity running on the docker host?

rroemhild commented 6 years ago

Hi, you have to set the servername (xmpp host) to localhost in the client config. Never used profanity but there should be a config option to do this.

joustava commented 6 years ago

Arg, I didn't realize jid domain part and server domain do not need to match and yes, profanity supports supplying the server separately as per doc

Thanks again!