Dynamic server port listening