A communication apparatus (receiving apparatus) configured to receive a communication parameter selects, when an access point itself is active as a providing apparatus or the communication apparatus detects an access point (active access point) that is communicable with an active providing apparatus, the access point as the access point to be connected using wireless connection. If the communication apparatus does not detect an active access point, the communication apparatus selects an access point (setup-completed access point) which is configured with a communication parameter that is different from the one that is set at the time of initialization, as the access point to be connected using wireless connection.