finding available external port