Reputation: 2785
How can I permanently change my application port number in production?
I know I can specify the port number when starting the server rails s -p 3005
, but was wondering how to change it so that I dont have to specifiy the port number everytime I start up the app.
Upvotes: 0
Views: 371
Reputation: 11
This seems to answer your question even though the question references running in development. I tend to agree with modifying the config/boot.rb as per.
But, iltempo is correct that you should be using a different stack in production. I've had good luck with Passenger.
Upvotes: 0