Changed port of UCP and now can't access Admin

So obviously this was a mistake, was just trying different thing and really screwed myself up.

The email that goes out to a new user tells them to access the User Control Panel at http://server:81 which does not work. I thought I’d try to set it to :80 in the admin interface under system admin to least have it go to the general page where they could select UCP.

Unfortunately after applying that now I can’t get to the admin page at all.

Can I change this back in one of the .conf files so I can get to my admin again?


Does anyone know where to set the port that FreePBX listens on in the .conf files? I’ve tried several ways of searching and can’t find it. Maybe it’s outside of the Asterisk folder?

I found it, it was in /etc/httpd/conf.d/schmoozecom.conf

It’s working now.

What did you do to change the port please? I changed it back to 81 but I’m still getting this error:

Starting httpd: Warning: DocumentRoot [/var/www/html/aastra/] does not exist
httpd: Could not reliably determine the server's fully qualified domain name, using for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs

You know what… I didn’t change the port next to LISTEN.

I feel dumb.