I want to use prosody or maybe another xmpp server to test my xmpp bot. I want it to only accept connection from the address/localhost(don’t want to configure firewall to block access). I would like to know the easiest way to accomplish this.
Share
To allow connections only from the localhost bind the server to 127.0.0.1. Binding it to 0.0.0.0 will allow connections from any host.
Check http://prosody.im/doc/configure and change the c2s_interface and s2s_interface values to “127.0.0.1”
To allow connections from somewhere else also but not everywhere, you need configure your firewall to do this.