Possible Duplicate:
TOR: hide my site in clearweb‏

I'm trying to serve on localhost only but every time I find a way to do it, it always says to edit http.d I cannot find http.d. Can someone tell me a good way to setup apache to serve ONLY on localhost? Please include paths on the default Ubuntu install. Thank you very much.

marked as duplicate by Michael Hampton, Jacob, Brent Pabst, Scott Pack, mdpc Jan 30 '13 at 4:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Open /etc/apache2/ports.conf

Change the "Listen" entry to look like this:


You will need to restart apache after that:

/etc/init.d/apache2 restart

Not the answer you're looking for? Browse other questions tagged or ask your own question.