solving port listening issue