-
Hi, How do you run postgresql? Via docker as well? If so you should make your postgres container and tigase container use the same dedicated network (see https://github.com/tigase/tigase-xmpp-server-docker/#dedicated-network) and then reference postgres via container name (which is also it's hostname within dedicated network)
-
I would recommend switching to one deployed in docker as well - makes maintenance easier, especially if your other tools also rely on docker. As for your use-case, accessing host services from within docker is somewhat tricky, but possible, see https://stackoverflow.com/questions/31324981/how-to-access-host-port-from-docker-container#43541732. In a nutshell: add
--add-host=host.docker.internal:host-gateway
to your docker run command and then in the installer usehost.docker.internal
for postgres database.Alternatively, you can run Tigase without docker - simply download latest distribution package from https://github.com/tigase/tigase-server/releases/tag/tigase-server-8.3.0, extract it and in the directory run
./scripts/tigase.sh start etc/tigase.conf
(at least JDK17 has to be installed)
I have followed error
but any other application is able to connect
How I runned the server: