cURL error 7 // Same server


i installed collabora on the same device as nextcloud is running. But unforunatelly i don’t get it work.
I get this error: GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to port 9980: Connection refused (see

Docker is running and was installed with: docker run -t -d -p -e 'domain=xx-office\\.dedyn\\.io' --restart always --cap-add MKNOD collabora/code

Any idea what i made wrong?

My Apache Conf

<IfModule mod_ssl.c>
    <VirtualHost *:443>

Include /etc/letsencrypt/options-ssl-apache.conf

# Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode

# Container uses a unique non-signed certificate
SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off

# keep the host
ProxyPreserveHost On

# static html, js, images, etc. served from loolwsd
# loleaflet is the client part of LibreOffice Online
ProxyPass /loleaflet retry=0
ProxyPassReverse /loleaflet

# WOPI discovery URL
ProxyPass           /hosting/discovery retry=0
ProxyPassReverse    /hosting/discovery

# Main websocket
ProxyPassMatch           "/lool/(.*)/ws$" wss://$1/ws nocanon

# Admin Console websocket
ProxyPass    /lool/adminws wss://

# Download as, Fullscreen presentation and Image upload operations
ProxyPass /lool
ProxyPassReverse   /lool

SSLCertificateFile           /etc/letsencrypt/live/
SSLCertificateKeyFile    /etc/letsencrypt/live/
<IfModule mod_ssl.c>

<VirtualHost *:443>
DocumentRoot /var/www/nextcloud

<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
Header always set Referrer-Policy no-referrer

<Directory /var/www/nextcloud/>
  Options +FollowSymlinks
  AllowOverride All

 <IfModule mod_dav.c>
  Dav off

 SetEnv HOME /var/www/nextcloud
 SetEnv HTTP_HOME /var/www/nextcloud


Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/
SSLCertificateKeyFile /etc/letsencrypt/live/