Fix local port listening