# Lost all admin access after changing ports

**URL:** <https://community.asterisk.org/t/lost-all-admin-access-after-changing-ports/75446>\
**Category:** Asterisk Distributions\
**Created:** [July 26, 2018, 2:05pm UTC](https://community.asterisk.org/t/lost-all-admin-access-after-changing-ports/75446 "2018-07-26T14:05:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![a-ott](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/a-ott/32/3131_2.png) [@a-ott](https://community.asterisk.org/u/a-ott)\
**Post date:** [July 26, 2018, 2:05pm UTC](https://community.asterisk.org/t/lost-all-admin-access-after-changing-ports/75446/1 "2018-07-26T14:05:00Z")

</div>

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.

 ![AsteriskPorts](https://global.discourse-cdn.com/asterisk/original/2X/6/605ca010d3bfdba5fbe05fe241c6c3bf7c9d8d9b.PNG)

Thanks.

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [July 26, 2018, 3:10pm UTC](https://community.asterisk.org/t/lost-all-admin-access-after-changing-ports/75446/2 "2018-07-26T15:10:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![a-ott](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/a-ott/32/3131_2.png) [@a-ott](https://community.asterisk.org/u/a-ott)\
**Post date:** [July 27, 2018, 1:27pm UTC](https://community.asterisk.org/t/lost-all-admin-access-after-changing-ports/75446/3 "2018-07-27T13:27:04Z")

</div>

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.
