Lost all admin access after changing ports

Hi,

I attempted to change our AsteriskNOW admin control panel port (under System Admin > Port Management) to port 82. As soon as I hit Update Now, I lost all ability to access the ACP. I’ve been able to SSH in and reload the configs, show the port settings, etc. But I just don’t know enough about the CLI to know how to change it back.

fwconsole sa ports returns this:
±---------±------------+
| Port | Name |
±---------±------------+
| 88 | restapps |
| 96 | restapi |
| 81 | ucp |
| 82 | acp |
| 84 | hpro |
| 80 | leport |
| disabled | sslrestapps |
| disabled | sslrestapi |
| disabled | sslucp |
| 443 | sslacp |
| disabled | sslhpro |
±---------±------------+

However, I’m not getting anything on port 82, 80, or anything.

Is there a way for me to set that port back to 80 through the command line?

I had changed LetsEncrypt to port 80 and changed Admin to port 82.

Thanks.

Asterisk doesn’t have a GUI. The one that comes with current versions of AsteriskNOW is FreePBX, https://community.freepbx.org/ , although I see none of their branding in your screen shot.

It must have been an issue with the LE certificate thing; Something with /etc/httpd/conf.d/ssl.conf was preventing the web server services from starting. Deleting the file allowed them to start and then reconfigure the ports back to their previous settings.

1 Like