| CPC H04L 63/08 (2013.01) [H04L 63/10 (2013.01); H04L 69/40 (2013.01)] | 12 Claims |

|
1. A communication device comprising:
storage that stores therein, for each of a plurality of servers, setting information including identification information of a server, authentication information used for connecting to the server, permission information indicating permitted communication with the server, and a priority, wherein one or more functions provided by each of the plurality of servers include a common function that is common to the plurality of servers; and
one or more hardware processors communicably coupled to the storage and configured to:
select, based on the priority, a first server that is one of the servers;
connect the communication device to the first server based on identification information and authentication information of the first server,
perform, according to the permission information for the first server, communication with the first server that is connected,
select a second server other than the first server from the servers when a failure is detected in communication with the first server,
connect the communication device to the second server based on identification information and authentication information of the second server, and
perform, according to the permission information for the second server, communication with the second server that is connected.
|