Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29243

AWS Ubuntu: Configure Ejabberd Hosts from Snap Store

$
0
0

I installed Ejabberd from Snap Store on Ubuntu, on an AWS EC2. I can access admin webpage "localhost:5280/admin" locally on Ubuntu. However, I cannot access it outside VNC from "https://ec2-xx-xxx-xx-xxx.compute-1.amazonaws.com:5280/admin". I guess I need to add "ec2-xx-xxx-xx-xxx.compute-1.amazonaws.com" into hosts in ejabberd.yml according to some tutorials. But it is quite different for Ejabberd installed from Snap, as I see there are two ejabberd.xml, not sure which one I shall change.

root@ip-xxx-xx-xx-xxx:/home/ubuntu# ls /snap/ejabberd/37/config/
config.exs  ejabberd.exs  ejabberd.yml
root@ip-xxx-xx-xx-xxx:/home/ubuntu# ls /snap/ejabberd/current/config/
config.exs  ejabberd.exs  ejabberd.yml
root@ip-xxx-xx-xx-xxx:/home/ubuntu# 

When I open file ejabberd.yml, I find it is readonly with an "equal mark" as picture shown. I am not sure whether I shall use chmod to modify read-write? Or there are other ways to add my aws ip-address to the hosts in config?

enter image description here


Viewing all articles
Browse latest Browse all 29243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>