주 콘텐츠로 건너뛰기

I'm having trouble with an error: Permission denied (errno = 13) connecting to mail server on SELinux - 지식 베이스 / Using Deskpro - Deskpro Support

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

저자 리스트

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
도움이 되었습니다 도움이 되지 않음

이 페이지가 도움이 된다고 생각하는 사람들의 수 463 / 532