`
yhz61010
  • 浏览: 561475 次
  • 来自: -
博客专栏
63c13ecc-ef01-31cf-984e-de461c7dfde8
libgdx 游戏开发
浏览量:12247
社区版块
存档分类
最新评论

[转] Apache Mod_proxy '[Error] (13)Permission Denied' Error on RHEL

    博客分类:
  • Web
阅读更多
原文地址: http://sysadminsjourney.com/content/2010/02/01/apache-modproxy-error-13permission-denied-error-rhel/

现象:
Apache 错误 Log 如下:
[Wed Feb 08 05:53:54.633904 2017] [proxy_http:error] [pid 29252] [client 172.30.1.26:21397] AH01114: HTTP: failed to make connection to backend: localhost
[Wed Feb 08 05:54:22.880990 2017] [proxy:error] [pid 29249] (13)Permission denied: AH00957: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed

解决办法:
/usr/sbin/setsebool httpd_can_network_connect 1

若经过上述修改不报错了,再执行下面的命令,使其永久生效:
/usr/sbin/setsebool -P httpd_can_network_connect 1
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics