How can I make apache use port 3000 instead of 80 to run my ruby on rails application on an external server?
httpd.conf Find the line that says
Listen 80 and change the 80 to whatever port you want to use.
Don't forget to restart apache.
In Server version: Apache/2.2.22 (Debian) Server built: Feb 1 2014 21:26:04 There is file named ports.conf in /etc/apache2 dir and you can change listening ports from there.
On Ubuntu, it's