My server bind to 0.0.0.0 but while running the below command getting the error
[root@asterisk]# wscat -c “ws://localhost:8088/ari/events?api_key=asterisk:asterisk&app=hello-world” error: Error: connect ECONNREFUSED
Please suggest.
Using Asterisk 13.12.2
jcolp
December 16, 2016, 11:04am
2
What is the actual configuration file for http.conf? Have you enabled it there?
http.conf
enabled=yes
bindaddr=127.0.0.1
ARI
enabled = yes
[asterisk]
type = user
read_only = no
password = test123
jcolp
December 19, 2016, 11:37am
4
Is that the complete contents? If so then the files are invalid as they do not include a [general] section, thus most would not be considered valid and HTTP and ARI would remain off.
arman
October 15, 2019, 11:55am
5
Hi
I had the same problem, but seeing this video fixed the problem