Fix port listening