Failed to connect to kaltura.my.server port 443

Hi, I know it must be something simple, but I am stuck here:

thrown in /opt/kaltura/app/batch/client/KalturaClientBase.php on line 362
PHP Fatal error: Uncaught KalturaClientException: Failed to connect to kaltura.my.server port 443: Verbindungsaufbau abgelehnt in /opt/kaltura/app/batch/client/KalturaClientBase.php:362
Stack trace:
#0 /opt/kaltura/app/batch/client/KalturaClient.php(1440): KalturaClientBase->doQueue()

Already changed the database url in delivery_profile to https://kaltura.my.server:8443 and the host_name to kaltura.my.server

also changed the line
http {
upstream kalapi {
server kaltura.my.server:8443;

What else could be wrong?

Working on ubuntu 16.04 and followed the guide here:

Hello @tome ,

Please see my reply here: Debian All in one platform install package not creating virtual hosts - #2 by jess

hi, thanks but all your commands work:

apachectl -t -DDUMP_VHOSTS
VirtualHost configuration:
127.0.1.1:443 kaltura.myserver.com (/etc/apache2/sites-enabled/zzzkaltura.ssl.conf:22)

curl -I -v https://kaltura.myserver.com/api_v3/index.php?service=system&action=ping
[1] 17524
Trying 127.0.1.1…

  • Connected to kaltura.myserver.com (127.0.1.1) port 443 (#0)
  • found 129 certificates in /etc/ssl/certs/ca-certificates.crt
  • found 518 certificates in /etc/ssl/certs
  • ALPN, offering http/1.1