멍멍이네 블로그

원인 :

액세스 권한에 의해 숨겨진 소켓에 액세스를 시도했습니다. 에러 이후 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