SOLUTION FOR APACHE2: APR_SOCKADDR_INFO_GET FAILED FOR HOSTNAME

If you are getting this error when you try to start or restart apache in kali linux :


The solution is the following :
Open apache2.conf file :
nano /etc/apache2/apache2.conf
Add this line :
ServerName localhost
Restart apache


This error has been resolved ! I hope this helps.

ConversionConversion EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv
Thanks for your comment