Jump to content

Changing Web Server Port?

  • Please log in to reply
2 replies to this topic



    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
My ISP blocks me from hosting a site on port 80 but to my knowledge most other ports are open. This site is for that PSP/iTunes hack so it doesn't matter which port it is on.

My only problem is this, how do I change the port which the web server listens* to?


*Replace with proper terminology as reader sees fit.




  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,958 posts
  • Gender:Male
  • Location:/tmp
If it applies to all apache installs, try finding httpd.conf. you can search in that document for port 80.

It's also strange that PSP/iTunes would use port 80. port 80 is the universal port for webservers. Might want to investigate on that further. Also, you might check the setting for PSP\iTunes to see if you can change the port number.



    Prophetess of Doom

  • Retired
  • 1,462 posts
  • Gender:Female
  • Location:Somewhere out there
You'll want to go into terminal and then edit this file /etc/httpd/httpd.conf.

Edit this portion:
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#Listen 3000

I think you can just take out the # before the first Listen, and then put in whatever port you want to run the webserver on (not used apache in a bit, this is from memory).

Make sure you have apache stopped first just to be safe, and then start it again after you've made this change.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy