A wireless communication terminal has a function of performing data
communication with a server connected to a network, and includes a
communication controller which selects a predetermined port number from
among a plurality of port numbers allocated for data communication with
the server, and using this communication port number to perform data
communication with the server, and a storage unit which stores the
communication port number; while performing a process to establish a
communication connection with the server, if the communication controller
receives information indicating that communication connection is
impossible from the server, it selects a port number which is different
from the communication port number stored in the storage unit as a new
communication port number, and performs the process again.