1

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

Tseng
  • 61,549
  • 15
  • 193
  • 205
Ketan
  • 43
  • 1
  • 6
  • 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 Answers1

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