i could say “find the power cable and yank it out. problem gone, no more error messages.” but instead i’ll ask the obvious … is Asterisk running ? if the messages says it can’t find an instance of Asterisk then you should be wondering why that is, not wondering why you can’t connect.
perhaps you could look at /var/log/asterisk/full and see if that’s got any clues ?