random port fallback issue #24