Reputation: 5398
Each time I start my Rails 2.3.8 webapp under RubyMine, it's using a different port. This drives me mad, since I've to change the URL in the browser each time I want to test something. I'm unable to find any configuration option to change that. Anyone?
Upvotes: 3
Views: 1485
Reputation: 4062
I am using rubymine 2.1.5. I needed to change the default port 3000 that ruby started on to something else such 8081. I had to open the menu
Upvotes: 0
Reputation: 1107
Matt, please select "Choose port manually" instead of "Use any free port" in run configuration settings | Port section
Upvotes: 2
Reputation: 17277
This may not help because I'm using RubyMine 3, however, there is a dropdown menu in my toolbar for selecting the different development environments (e.g. production, development).
The dropdown menu is to the left of the green "Run" triangle. If you click on the list one of the options is "Edit Configurations" - this pops open a window that has server port configuration settings in it.
Hope this is the same in your version of RubyMine!
Upvotes: 7