@hotwebmatter's answer above helped me with this issue, so I'll add instructions:
Check the status of SELinux: getenforce. In my case, the status was enabled, so I needed to disable it.
Disable SELinux: sudo nano /etc/selinux/config, then change SELINUX=enabled to SELINUX=disabled.
Reboot: systemctl reboot
Check the status of your Solr server again at /...
i resolved the problem by:
and, since my domain name has dash, i used this regex:
You are probably trying to install a 1.x version of Login Security.
According to the module page, it supports Drupal 9 from version 2.0.
So check your composer.json and make sure you are trying to install the 2.0 version.