Neither Enketo nor Collect will work with self-signed certificates. See Central/Enketo integration with self-signed cert - #2 by LN for more.
You also need to make sure you have disabled any firewall you have configured.
@Hartmut_Noack if neither of those ideas help, please make sure you have fully read and understood the section shared by @rassam.