alternative use the port property if displayedPort is not defined