You have specified port 8080 which is for plain HTTP, but also specified https:// in the URL scheme. This is not correct. HTTPS works on port 8443.
To fix the issue, restart the Headwind MDM installer, and enter the consistent parameters, one of the following:
1. Port 8080 and http:// scheme
2. Port 8443 and https:// scheme
Note that the Android app receives the URL in the QR code when you follow the enrollment instructions. However if you need to change the default URL, then you need to change it in build.gradle and rebuild.