![]() I'm guessing that ejabberdctl needs some RPC ports/permissions, but I can't find documentation about what it needs. So it's understandable that the previous command works (it just checks "epmd -names"), and this one fails (you may need to open some ports, and tell ejabberdctl which ones to use). That needs several ports opened, the erlang cookie verification, etc. iptables -A INPUT -p tcp -dport 5222 -j ACCEPT iptables -A INPUT -p tcp -dport 5269 -j ACCEPT. I have done the following: Assuming my public domain is and the public IP is 123.123.10.210. (The above are of course just two different ways of writing a YAML 'list', once using the bracket notation, once using. Now I want to allow my ejabberd server to be accessible from the public url, but have been unsuccessful. Now I want to enable OAuth(need to integrate OAuth token generation. In documentation basics, we find the following examples for configuration of the hosts YAML element: Serving one domain: hosts: Serving three domains: hosts:. ![]() I tested connecting to the server from a mobile app and exchanging messages. Currently the ejabberd server is providing a list of the available, authentification mechanisms. Internally, this is a more complex operation than the previous one, as it attemps to connect to the running node. I installed and configured an Ejabberd XMPP server. 1 I would like to ask if there is a possibility to force the authentification mechanisms in the ejabberd config. It is great for home and small office environments, but in larger companies, as the amount of chat logs and users grows, we need more scalability. Now I want to enable OAuth(need to integrate OAuth token generation into my own Node.js REST API: login on my REST API login on my DB + Ejabberd OAuth token generation). Something like: $ epmd -namesĮpmd: up and running on port 4369 with data:įailed RPC connection to the node nodedown environmentejabberdhttps true ejabberdstarttls true ejabberds2sssl true ejabberdprotocoloptionstlsv1 false ejabberdloglevel 4 ejabberdmuccreateadminonly ejabberdregisteradminonly ejabberdmodadminextra true ejabberdmodmucadmin false ejabberdregistertrustednetworkonly ejabberdskipmodulesupdate false ejabberdauthmethod internal ejabberdadmins ejabberdusers erlang. I installed and configured an Ejabberd XMPP server. This is a very simple detection: it just checks in "epmd" the list of running nodes. Now, you copy the resulting modstanzaack.beam with all the other ejabberd beam files, enable the module in ejabberd. For debugging purposes, try to start it with "ejabberdctl live", as that will keep the erlang shell opened inside ejabberd: that gives you immediate log messages, you can see it's running, and even run erlang commands inside it.ĮRROR: The ejabberd node ' ' is already running.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |