Closed amerine closed 12 years ago
Is a random port not sufficient? Have you tried using min_port
?
The port isn't random on my machine. The test server app.config is generated with the handoff_port
set to 8080 every time.
@amerine I believe setting min_port in your ripple.yml will fix this for you. Most port numbers are derived from it.
What @mattsnyder said. Also you could do:
development:
env:
riak_core:
handoff_port: 10000
Generally speaking, though, the min_port
setting should be preferred and simplest. Closing.
I had an issue with ripple in a new rails 3.2 app that stopped the test server that is generated in tmp/riak_test_server from starting.
I tracked it down to a conflict with the default handoff_port. This adds the ability to modify that port, and more importantly I think provides the user a clear idea of an additional port that's needed to get their system up and running (in their test environment anyways).