Sonata Billing external port fail.

Good afternoon
I have port 80 forwarded to 63380
Tell me why I can’t access the Sonata Billing interface via the public Internet? Are there any necessary port forwarding for this? Vitalpvx stands for nat, when going to the page http://mypublicip:63380/call-accounting/ in the Apache logs [Sat Mar 16 22:22:36.634012 2024] [proxy_fcgi:error] [pid 73023:tid 140399444219648] [ client 213.110.202.250:13944] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught RuntimeException: Failed to connect to 127.0.0.1 port 63380: Connection refused in /usr/share/billing/www/core/components/pbx/ distro/PBX.php:0\nStack trace:
[Sat Mar 16 22:22:36.634012 2024] [proxy_fcgi:error] [pid 73023:tid 140399444219648] [client 213.110.202.250:13944] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught RuntimeException: Failed to connect to 127.0.0.1 port 63380: Connection refused in /usr/share/billing/www/core/components/pbx/distro/PBX.php:0\nStack trace:\n#0 /usr/share/billing/www/core/components/pbx/distro/PBX.php(0): pbx\distro\PBX->_send_request()\n#1 /usr/share/billing/www/core/components/pbx/distro/VitalPBX.php(0): pbx\distro\PBX->GET()\n#2 /usr/share/billing/www/core/branding.php(0): pbx\distro\VitalPBX->getPBXPlan()\n#3 /usr/share/billing/www/core/branding.php(0): core\branding->_initLicense()\n#4 /usr/share/billing/www/core/branding.php(0): core\branding->__construct()\n#5 /usr/share/billing/www/templates/template_builder.php(0): core\branding::build()\n#6 /usr/share/billing/www/templates/template_builder.php(0): templates\template_builder::head()\n#7 /usr/share/billing/www/core/core.php(0): templates\template_builder::build_template()\n#8 /usr/share/billing/www/core/core.php(0): core\core->get_page()\n#9 /usr/share/billing/www/index.php(0): core\core->run(…’, referer: http://mypublicip:63380/

Could you please share the HTTP Server settings?

The problem was solved by changing port 80 to 63380 and setting forwarding

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.