Passer au contenu principal

I'm having trouble with an error: Permission denied (errno = 13) connecting to mail server on SELinux - Base de connaissances / Using Deskpro - Deskpro Support

I'm having trouble with an error: Permission denied (errno = 13) connecting to mail server on SELinux

Liste des auteurs

Question:

My Deskpro On-Premise installation can't connect to my POP3 server, although the account details are definitely correct and the server log seems like the connection is being accepted.

When I test the account I get the error:

There was an error while trying to connect to the server. Make sure the host and port you specified is correct.
RuntimeException::0 cannot connect to host; error = Permission denied (errno = 13)

 

Answer:

The permission denied error can sometimes mean SELinux is preventing networking connections.

Run this command as root to enable networking from PHP:

setsebool httpd_can_network_connect=1
Utile Peu Utile

463 personnes sur 532 ont trouvé cette page utile

Ajouter un commentaire

Veuillez vous connecter ou vous enregistrer pour soumettre un commentaire.

Besoin d'un rappel de mot de passe?