Reputation: 995
I have a ruby on rails web application work at port 3000 I want to make it works at port 80 What is the easiest way to make it happend ?
I've tried to change port 3000 in file
C:\Ruby187\lib\ruby\gems\1.8\gems\mongrel-1.1.5-x86-mingw32\bin\mongrel_rails
But every thing crashed up so i've changed it back to 3000
Upvotes: 1
Views: 1212
Reputation: 2954
Since you are using rails 1.8.7. you should do like this mongrel_rails start -p 80
you can also find more available options by doing mongrel_rails start -h
Upvotes: 4
Reputation: 1402
you can specify the desired port with the -p parameter
rails s -p 80
Upvotes: 2