I am getting the error from nginx server when trying to connect kestrel.sock I am using centos7 for asp.net core with mono. Any help would appreciate. This first time I am working on Linux
Asked
Active
Viewed 1,303 times
1
-
Please use the proper tags in future! When your quesiton is related to ASP.NET Core use "asp.net-core" tag ! NOT "asp.net" and "core", both are completely unrelated to your question. Please read the tag descriptions before adding them – Tseng Jun 05 '16 at 10:48
1 Answers
2
Your issue may be due to SELinux. See this question.
You can check for errors in the audit log using:
sudo cat /var/log/audit/audit.log | grep nginx | grep denied
As this answer suggests, the problem was resolved for me by running:
setsebool httpd_can_network_connect on -P

Community
- 1
- 1

MJ Richardson
- 1,441
- 12
- 30