A communication apparatus capable of communicating with an external apparatus via a network, the communication apparatus comprising: obtain means configured to obtain external apparatus information sent from an external apparatus that belongs to the same network as the communication apparatus and to obtain external apparatus information sent from an external apparatus that does not belong to the same network as the communication apparatus, the external apparatus information being about the respective external apparatus; display control means configured to control display of a web browser included in the communication apparatus, wherein the display of the web browser includes a bookmark list that includes identification information for identifying a web site on the internet, and the display control means performs control so as to display identification information for identifying the external apparatus with the identification information for identifying the web site in the bookmark list in a case where the external apparatus information is obtained by the obtain means; reception means configured to receive a user operation designating any piece of identification information from the identification information for identifying the external apparatus and the information for identifying the web site displayed in the bookmark list; and communication control means configured to, in a case where the designated identification information identifies that external apparatus belongs to the same network as the communication apparatus, establish a communication with the external apparatus corresponding to the designated identification information, and in a case where the designated identification information identifies that external apparatus does not belong to the same network as the communication apparatus (S1001), perform control (S1002-S1004) to cause the communication apparatus to belong to the same network as, and establish a communication with, the external apparatus corresponding to the designated identification information. obtain means configured to obtain external apparatus information sent from an external apparatus that belongs to the same network as the communication apparatus and to obtain external apparatus information sent from an external apparatus that does not belong to the same network as the communication apparatus, the external apparatus information being about the respective external apparatus; display control means configured to control display of a web browser included in the communication apparatus, wherein the display of the web browser includes a bookmark list that includes identification information for identifying a web site on the internet, and the display control means performs control so as to display identification information for identifying the external apparatus with the identification information for identifying the web site in the bookmark list in a case where the external apparatus information is obtained by the obtain means; reception means configured to receive a user operation designating any piece of identification information from the identification information for identifying the external apparatus and the information for identifying the web site displayed in the bookmark list; and communication control means configured to, in a case where the designated identification information identifies that external apparatus belongs to the same network as the communication apparatus, establish a communication with the external apparatus corresponding to the designated identification information, and in a case where the designated identification information identifies that external apparatus does not belong to the same network as the communication apparatus (S1001), perform control (S1002-S1004) to cause the communication apparatus to belong to the same network as, and establish a communication with, the external apparatus corresponding to the designated identification information. <EOS>