select port by interaction with user