Make sure listenPort is an int before adding 1 to it