How access localhost on high Sierra
How access localhost on High Sierra?
iMac
How access localhost on High Sierra?
iMac
Are you asking about running a web server? If so you open a browser and type localhost in the address bar. If you have the web server running you will see the default page. If you have not set up your web server yet then follow these instructions:
Are you asking about running a web server? If so you open a browser and type localhost in the address bar. If you have the web server running you will see the default page. If you have not set up your web server yet then follow these instructions:
Another approach from the Terminal:
Now in a new browser window/tab, assuming that you used the default port 8000:
http://localhost:8000will automatically show the index.html content in the above folder. Or you can display a specific web page:
http://localhost:8000/foo.htmlIt Works! Thank you. MG
Have fun.
Working in node.js , will try to get localhost w/ simpleServer and server.js
Thanks for your assistance. MG
FWIW, I suggest sticking with a more ubiquitous server that is better supported.
Exactly the words that I should have included with the Python example. Not a replacement for the AMP stack, or server-side action.
How access localhost on high Sierra