简体   繁体   English

无法访问Solr服务器(Fedora httpd,solr 5,Drupal 8)

[英]Solr server could not be reached (Fedora httpd, solr 5, Drupal 8)

After installing solr 5 with the install_solr_service.sh script, I enabled the service 使用install_solr_service.sh脚本安装solr 5之后,我启用了该服务

systemctl enable solr

But Drupal 8 search_api_solr module is complaining that solr server could not be reached although I can open solr backend interface on localhost in my web browser. 但是Drupal 8 search_api_solr模块抱怨无法访问solr服务器,尽管我可以在Web浏览器中的本地主机上打开solr后端接口。

SELinux阻止了8983端口上的服务通信,这里是解决方法:

semanage port -a -t http_port_t -p tcp 8983

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM