요청한 주소는 해당 컨텍스트에서 유효하지 않습니다. : AH00072 : make_sock: could not bind to address
원인 :
액세스 권한에 의해 숨겨진 소켓에 액세스를 시도했습니다. 에러 이후 httpd.conf파일에서 내 아이피:포트를 개방해준 후 apache를 start하니까 에러가 뜸.
에러 1. AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using -. Set the 'ServerName' directive globally to suppress this message
에러 2. (OS 10049)요청한 주소는 해당 컨텍스트에서 유효하지 않습니다. : AH00072: make_sock: could not bind to address -
(ip같은건 가림)
해결 :
해결 1. AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using -. Set the 'ServerName' directive globally to suppress this message
ㄴ 에 대한 에러는 httpd.conf파일에서 ServerName이 주석처리 돼있는데, 주석을 푼 후 자기 아이피를 적어주면 에러 사라짐. ( ex: #ServerName localhost -> ServerName 123.456.789.000 )
해결 2. (OS 10049)요청한 주소는 해당 컨텍스트에서 유효하지 않습니다. : AH00072: make_sock: could not bind to address -
ㄴ 에 대한 에러는 httpd.conf파일에서 ServerName에 포트를 적어주니까 사라짐.
ex : ServerName ip:port -> ServerName 123.456.789.000:8080
Listen port -> Listen 8080
'프로그래밍 > 모르는것들!!' 카테고리의 다른 글
VCRUNTIME140.dll 에러 (0) | 2020.10.03 |
---|---|
JSON_UNESCAPED_UNICODE (0) | 2019.09.17 |
액세스 권한에 의해 숨겨진 소켓에 액세스를 시도했습니다 (0) | 2019.07.19 |
ArgumentException: JSON parse error: Invalid value. (0) | 2019.07.18 |
[Apache, PHP, MySQL] 설치 중 에러 (0) | 2019.07.17 |
액세스 권한에 의해 숨겨진 소켓에 액세스를 시도했습니다
원인 :
httpd.exe 파일에
#Order allow,deny
#Allow from all
Require all granted
위 내용을 밑 내용으로 바꾸어줬습니다(인터넷 참조. 버전업 되면서 바뀌었다고 함.)
그랬더니
에러 발견.
해결? : httpd.conf 파일에 Listen port 부분을 수정.(기본으로 80으로 설정됐습니다. 80으로 검색 후 찾으시면 되고, apache 포트로 개방하면 될 듯 합니다)
'프로그래밍 > 모르는것들!!' 카테고리의 다른 글
JSON_UNESCAPED_UNICODE (0) | 2019.09.17 |
---|---|
요청한 주소는 해당 컨텍스트에서 유효하지 않습니다. : AH00072 : make_sock: could not bind to address (0) | 2019.07.19 |
ArgumentException: JSON parse error: Invalid value. (0) | 2019.07.18 |
[Apache, PHP, MySQL] 설치 중 에러 (0) | 2019.07.17 |
[뷰포리아/Vuforia] app key is missing (0) | 2015.09.08 |