gilks Posted August 29, 2005 Share Posted August 29, 2005 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? Thanks. *Replace with proper terminology as reader sees fit. Link to comment https://www.insanelymac.com/forum/topic/1454-changing-web-server-port/ Share on other sites More sharing options...
domino Posted August 29, 2005 Share Posted August 29, 2005 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. Link to comment https://www.insanelymac.com/forum/topic/1454-changing-web-server-port/#findComment-9001 Share on other sites More sharing options...
cyrana Posted August 29, 2005 Share Posted August 29, 2005 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 #Listen 12.34.56.78:80 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. Link to comment https://www.insanelymac.com/forum/topic/1454-changing-web-server-port/#findComment-9030 Share on other sites More sharing options...
Recommended Posts