Can't access web interface

I made a new installation of Pihole on a Proxmox VM using docker compose. I recently switched from a normal installation of ubuntu server to proxmox. Pihole worked just fine on ubuntu server, however on the VM (that still runs ubuntu server) i get this error:

Expected Behaviour:
Going to https://192.168.1.4:8000 should open Pihole web ui

Actual Behaviour:
Going to https://192.168.1.4:8000 gives an error (SSL_ERROR_RX_RECORD_TOO_LONG)

Do you see the same error accessing from a different machine or a different browser?

On my phone, using google, I get an error: ERR_SSL_PROTOCOL_ERROR. I haven't tried on other devices yet

Both messages show you have an issue with SSL certificate, but Pi-hole v5 (the current version) doesn't use https. If you are using a reverse proxy, you need to fix the certificate and configuration.

Your expectations are not correct:

  1. You are trying to access using https, but it should be http;
  2. you missed the /admin;

What do you see if you try http://192.168.1.4:8000/admin ?

It works. I always forget /admin. Thank you