본문 바로가기
Development/Web Develope

Apache. Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed

by 버들도령 2019. 6. 16.
728x90

Apache. Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed

Apache를 실행하였을 경우 다음과 같은 에러들을 출력하면서 페이지에 접속이 안될때는?????

여러가지 방법의 해결법이 있겠지만, 제일 먼저 수행해보기를 추천하는 것은.

다음의 명령을 사용해보자.

 # /usr/sbin/setsebool httpd_can_network_connect true

추가적으로. -P 옵션을 줄 경우 서버를 재부팅할 경우에도 적용되도록 할 수 있다.

~apache_home/logs/error_log

[Wed Nov 18 20:57:10 2015] [error] (13)Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed
[Wed Nov 18 20:57:10 2015] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Nov 18 20:57:18 2015] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Nov 18 20:57:19 2015] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Nov 18 21:13:28 2015] [warn] RSA server certificate CommonName (CN) `JCmall' does NOT match server name!?
[Wed Nov 18 21:13:28 2015] [warn] RSA server certificate CommonName (CN) `JCmall' does NOT match server name!?
 

$apache_home/logs/ssl_error_log

[Wed Nov 18 21:54:20 2015] [warn] RSA server certificate CommonName (CN) `JCmall' does NOT match server name!?
[Wed Nov 18 21:54:20 2015] [warn] RSA server certificate CommonName (CN) `JCmall' does NOT match server name!?

728x90

댓글