NC 27.2.1 Office APP and Collabora Server Log Error

Hello I am Mobi and
I have the following error in the log of my Nextcloud installation after installing the Office App and the Collabora Server

GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 80: Connection refused (see libcurl - Error Codes) for http://localhost/apps/richdocumentscode/proxy.php?req=/hosting/capabilities

I have the following configuration:
Plesk Obsydian
Nextcloud version 27.1.2
PHP 8.2.11

Thanks for any help


any ideas from this community?

hi @mobi welcome to the forum :handshake:

you are missing the required support template. Please fill this form out and edit into your post. This will give us the technical info and logs needed to help you in case the machine in question in spitting out errors! Since you’ve provided zero technical details it is impossible to help you as-is. Thanks.

Please use the search - lot of issues have been discussed already

If there are specific issues or error please describe what you tried so far and which problems you hit!

sounds like your office tries to find the collabora-online application on localhost:80 which is definitely wrong.

Hi Willi, thank you for your response. I will collect the missing information and fill in the support template

Nextcloud version (eg, 26.0.1): 27.1.2
Operating system and version (eg, Ubuntu 22.04): Ubuntu 20.04.6 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.41
PHP version (eg, 8.1): 8.2.11
Database (sqlite or MariaDB or Postgres) mysql 10.3.38
Docker (compose)
Is this the first time you’ve seen this error? yes

The issue you are facing:

  • Steps to replicate it:
  1. Connection error when using files
  2. Slow connection set-up and disconnections
  • The output of your Nextcloud log in Admin > Logging:
richdocuments	GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 80: Connection refused (see for http://localhost/apps/richdocumentscode/proxy.php?req=/hosting/capabilities
  • The output of your config.php file in /path/to/nextcloud**
    (use https://.../settings/admin/support which auto-removes identifying information!):
$CONFIG = array (
  'passwordsalt' => 'xxxxxxxxxx',
  'secret' => 'Mxxxxxxxx',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => '',
	2 => '',
	3 => '', 
    4 => '',
  'datadirectory' => '/var/www/vhosts/',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'http://localhost',
  'dbname' => 'nextcloud_dbname',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncuser_dbuser',
  'dbpassword' => 'password',
  'installed' => true,
  'instanceid' => 'instidxxx',
  'mail_from_address' => 'master',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'mynextcloud',
  'mail_smtphost' => '',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'user',
  'mail_smtppassword' => 'pw',
  'mail_smtpsecure' => 'ssl',
  'default_phone_region' => 'DE',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  • for Docker/Podman list environment variables ( run “docker inspect {container name}”)**
  • The output of your Apache/nginx/system log in /var/log/____:
  • For Docker/Podman post STDOUT of the container (run docker logs {container name})
  • errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors.
[client] ModSecurity: Warning. Operator GE matched 5 at TX:incoming_points. 
[file "/etc/apache2/modsecurity.d/rules/comodo_free/20_Outgoing_FiltersEnd.conf"] [line "35"] [id "214930"] [rev "1"] 
[msg "COMODO WAF: Inbound Points Exceeded|Total Incoming Points: 5||F|2"] [severity "CRITICAL"] 
[tag "CWAF"] [tag "FiltersEnd"] [hostname "mynextcloud"] 
[uri "/apps/richdocumentscode/proxy.php"] [unique_id "ZTlLoIoCTz6un6v06ftgsAAAAEs"]

I use Plesk Obsidian 18.0.56 and the Nexcloud App from Plesk
and a vserver

I understand that this is a wrong configuration. Where can I set the correct path?

can someone help me with this problem?
Greetings Mobi