
selinux está bloqueando a porta 8332. Agora quero desbloqueá-la. Mas que tipo de porta devo usar para uma conexão RPC? Esta é a mensagem que recebo:
SELinux is preventing /usr/sbin/php-fpm from name_connect access on the tcp_socket port 8332.
***** Plugin connect_ports (85.9 confidence) suggests *********************
If you want to allow /usr/sbin/php-fpm to connect to network port 8332
Then you need to modify the port type.
Do
# semanage port -a -t PORT_TYPE -p tcp 8332
waarin PORT_TYPE een van de volgende is: dns_port_t, dnssec_port_t, http_port_t, kerberos_port_t, ocsp_port_t.
Responder1
Depois de alguma pesquisa finalmente encontrei a resposta. Basta executar este comando:
sudo setsebool -P httpd_can_network_connect 1