Switching http Port

It's quite simple to do actually.

In Terminal.app type:
Code:
sudo pico /etc/httpd/httpd.conf

Look for the part that says
Code:
Port 80
and change it to whatever port you want it to listen to.
Save the changes by typing
Ctrl+O and then Enter.

Then type
Code:
sudo apachectl restart
 
Yes, BBEdit has supported user authentication to open hidden/system files for many months through the "Open Hidden..." command :)
 
i love the command line "bbedit" in 6.5

"bbedit etc/httpd/httpd.conf"

if I ever see a "pico", "vi", or "emacs" command,
I just substitute "bbedit"!
 
Back
Top