improved support of explicitly given port