Personal Websharing Port change

el sebastian

Registered
Hello,

I have been trying to do this for weeks and can't find any information doing web searches. I have spend countless hours particularly in Google, and it's been worthless. Now my last resort is forums, and I hope anyone can help. Here is my situation:

As you might know, awhile back Cable companies such as AT&T and Cox Communications decided to block port 80 for Web Sharing. This was bad, because I was not able to share a small website in cyberspace because of what they did. In Mac OS 9, it was simple to solve. I would simply go into the preferences and change the port from 80 to 8888, then I would give my IP with the port (eg http://30.20.203:8888/website) and it would work just perfect. Well, the Mac OS 9 era is over, Mac OS X came in awhile go. I have asked many people and no one knows. How can I change the port so people can view my Personal Web Sharing sites? Simply, how can I change the port from 80 to 8888? Any help would be GREATLY APPRECIATED, thanks!
 
Mac OS X uses Apache as its web server. It should be possible to change the settings by editing the file /etc/httpd/httpd.conf.

There is a section that reads:

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
#Listen 3000
#Listen 12.34.56.78:80

I think if you add the line here "Listen 8888", then make sure you open that port on your firewall, and restart, you should be right. You will need to be the super-user to edit the file. (open a terminal and type "sudo pico /etc/httpd/httpd.conf" to use the pico editor)

Let us know if you're still stuck on any of the details.
 
symphonix - even easier, there's an item for port. Default is 80, of course, but changing that to 8888 will work like wanted. ;)
 
Back
Top