private static int RandomPort() { if (_random == null) _random = new Random((int)DateTime.Now.Ticks); return _random.Next(10000, 11000); }