Fix bug not applying port flag
Fix bug -f not workign for