[Mac] Localhost at port 80 says It Works!


Localhost says it works

If you try to access http://localhost/index.html at default port 80 and it says it works! and you are wondering what service is running this index.html page then you are at the right place,

This is a page that you can locate at location /Library/Webserver/Documents/index.html.en which is associated with Apache HTTP Server.

% cat /Library/WebServer/Documents/index.html.en
<html><body><h1>It works!</h1></body></html> 

You can stop Apache Server by running the command sudo apachectl stop

-

Facing issues? Have Questions? Post them here! I am happy to answer!


Author: Rakesh
Author Info:

Rakesh is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X





























Copyright © Code2care 2023 | Privacy Policy | About Us | Contact Us | Sitemap