Hola,
Por favor tenga en cuenta que este foro es solamente para posts en inglés.
It is not possible to disable the web UI through any specific Proxmox VE setting. Please note that Proxmox VE runs on top of a fully fledged Linux installation, you could block the ports of interest using network tools available for Debian.