I walked through registration / activation of the FreePBX installation in the WebUI I was testing and after it was successful I lost all web UI access.
It says: “ERR_CONNECTION_REFUSED”
Debian info:
Linux pbx-01 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64
I have ssh access to it w/root. Anyone have a quick troubleshooting tip to fix the web services?
It looks like the Apache2 service is not running on your system, or you are trying to access the wrong port that Apache is not listening on.
1.Check the Apache2 service status systemctl status apache2.service
2.If the Apache service is not running, start the service systemctl start apache2.service
3.Try to access the FreePBX UI and check the Apache logs tail -f /var/log/apache2/*
If you don’t see any log entries, the request is not reaching Apache.
This could mean a firewall is blocking the connection or you are trying to access the wrong port that Apache is not listening on
cd /var/lib/asterisk/bin
php fwconsole firewall stop
I then tried the web interface again and same error, connection refused.
I then turned the firewall back on
php fwconsole firewall start
Broadcast message from root@pbx-01 (somewhere) (Thu Mar 6 13:04:57 2025):
Firewall service now starting.
I’m at a bit of a loss. I had the box mostly configured just fine, connected to FlowRoute and I was troubleshooting why I couldn’t make an outbound call when I saw the register / activation then went through it not thinking much about it other than, maybe if it’s not “registered” some features don’t work. Right after I successfully registered the web interface would no longer load.
The Apache logs don’t reveal much at all. It’s a bit of a mess because I think it’s looking through gz compressed log files.
New users can only apparently post one embedded picture at a time (what LOL).