"Desktop sharing port" left unfilled

There’s something funny happening here (see screenshots below). Why is the “Port” value left empty? It’s the first time I’ve seen that!