Google Chrome could not connect to localhost
Just do sudo apachectl -t, that will help you fixing any issue your having with Apache configuration. 

In that case, it was just a simple space in httpd-vhosts.conf file that was causing the issue.