Port selection implemented