image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old August 28th, 2002, 06:05 PM
Registered User
 
Join Date: Apr 2002
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
chocklehot is on a distinguished road
Switching http Port

Hey .. all.. Could anyone tell me how to change http port.. cause my host is blocking :80 port :/
On Os x.2



Thx
Reply With Quote
  #2  
Old August 28th, 2002, 06:39 PM
Captain Code's Avatar
Moderator
 
Join Date: Aug 2001
Location: Ontario, Canada
Posts: 3,110
Thanks: 0
Thanked 1 Time in 1 Post
Captain Code will become famous soon enough
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
__________________
MacBook Pro 2.16GHz Core2Duo 3GB RAM, G4 1.4GHz OSX Tiger 1.25GB RAM, Dual 2GHz G5 OSX Tiger 2GB RAM (freakin shweet)
Athlon 64 Windoze XP for school work (programming) 1GB RAM
dferns@macosx.com

Last edited by Captain Code; August 28th, 2002 at 06:45 PM.
Reply With Quote
  #3  
Old August 28th, 2002, 07:24 PM
Registered User
 
Join Date: Apr 2002
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
chocklehot is on a distinguished road
Thx man
But I better liked to use BBedit... opening httpd.conf... finding port 80 and changing it
Reply With Quote
  #4  
Old August 28th, 2002, 10:38 PM
Captain Code's Avatar
Moderator
 
Join Date: Aug 2001
Location: Ontario, Canada
Posts: 3,110
Thanks: 0
Thanked 1 Time in 1 Post
Captain Code will become famous soon enough
No problem. I wasn't aware that you could open write protected, or hidden files in BBEdit.
__________________
MacBook Pro 2.16GHz Core2Duo 3GB RAM, G4 1.4GHz OSX Tiger 1.25GB RAM, Dual 2GHz G5 OSX Tiger 2GB RAM (freakin shweet)
Athlon 64 Windoze XP for school work (programming) 1GB RAM
dferns@macosx.com
Reply With Quote
  #5  
Old August 29th, 2002, 12:02 AM
Mars's Avatar
Avocado
 
Join Date: Apr 2001
Location: Austin, TX, US
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Mars is on a distinguished road
BBEdit Sweetness

Yes, BBEdit has supported user authentication to open hidden/system files for many months through the "Open Hidden..." command
Reply With Quote
  #6  
Old August 29th, 2002, 01:17 AM
Captain Code's Avatar
Moderator
 
Join Date: Aug 2001
Location: Ontario, Canada
Posts: 3,110
Thanks: 0
Thanked 1 Time in 1 Post
Captain Code will become famous soon enough
Sweet.
__________________
MacBook Pro 2.16GHz Core2Duo 3GB RAM, G4 1.4GHz OSX Tiger 1.25GB RAM, Dual 2GHz G5 OSX Tiger 2GB RAM (freakin shweet)
Athlon 64 Windoze XP for school work (programming) 1GB RAM
dferns@macosx.com
Reply With Quote
  #7  
Old August 29th, 2002, 04:32 AM
hunger buster
 
Join Date: Oct 2001
Location: out there... somewhere
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
xegan is on a distinguished road
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"!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Commungate...port question! Icedtrip Mac OS X System & Mac Software 1 January 8th, 2003 05:10 AM
USB port crashes on wake from sleep AlanBDahl Mac OS X System & Mac Software 1 June 19th, 2002 03:42 PM
Why is port 1033 open? jeb1138 Mac OS X System & Mac Software 1 December 6th, 2001 08:45 PM
chaning port on web proxy Tyness Mac OS X System & Mac Software 0 October 21st, 2001 10:55 AM


All times are GMT -5. The time now is 03:49 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.