Here are some solutions:
1. Verify that the license configuration is correct and try to reinstall or replace the license.
2. Check whether the network connection is normal and try to close the firewall.
3. Update the license management software or upgrade to the latest version.
4. Contact the technical support team of UG 12 software for professional help and support.
If the above methods can't solve the problem, you can try to modify the license configuration file of UG 12 and replace the "UG 12_LICENSE_SERVER" section with the correct license server address and port number.
I hope these methods can help you solve the problem.