An electronic device comprising: a housing; a transceiver disposed inside the housing and configured to support a wireless communication protocol having short-range coverage; a communication interface disposed inside the housing; at least one processor disposed inside the housing and operatively connected to the transceiver and the communication interface; and a memory disposed inside the housing and electrically connected or coupled to the at least one processor; wherein the memory stores instructions, when executed, cause the at least one processor to: connect a first external device wirelessly through the transceiver by using a first service set identifier, SSID of the electronic device; receive first information about the first external device from the first external device by using the transceiver; transmit at least part of the first information and second information about the electronic device, to a second external device (300, 400) through at least one of the transceiver or the communication interface, wherein the part of the second information includes a second SSID of the electronic device; forward connection information from the second external device (300, 400), to the first external device through at least one of the transceiver or the communication interface, wherein the connection information is based on the first information and the second information and includes the second SSID for a wireless connection between the first external device and the electronic device; or receive a transmission request of said connection information from the second external device (300, 400) through at least one of the transceiver or the communication interface and, in response to the transmission request, transmit said connection information to the first external device by using the transceiver; and connect to the first external device wirelessly through the transceiver by using the connection information. a housing; a transceiver disposed inside the housing and configured to support a wireless communication protocol having short-range coverage; a communication interface disposed inside the housing; at least one processor disposed inside the housing and operatively connected to the transceiver and the communication interface; and a memory disposed inside the housing and electrically connected or coupled to the at least one processor; wherein the memory stores instructions, when executed, cause the at least one processor to: connect a first external device wirelessly through the transceiver by using a first service set identifier, SSID of the electronic device; receive first information about the first external device from the first external device by using the transceiver; transmit at least part of the first information and second information about the electronic device, to a second external device (300, 400) through at least one of the transceiver or the communication interface, wherein the part of the second information includes a second SSID of the electronic device; forward connection information from the second external device (300, 400), to the first external device through at least one of the transceiver or the communication interface, wherein the connection information is based on the first information and the second information and includes the second SSID for a wireless connection between the first external device and the electronic device; or receive a transmission request of said connection information from the second external device (300, 400) through at least one of the transceiver or the communication interface and, in response to the transmission request, transmit said connection information to the first external device by using the transceiver; and connect to the first external device wirelessly through the transceiver by using the connection information. connect a first external device wirelessly through the transceiver by using a first service set identifier, SSID of the electronic device; receive first information about the first external device from the first external device by using the transceiver; transmit at least part of the first information and second information about the electronic device, to a second external device (300, 400) through at least one of the transceiver or the communication interface, wherein the part of the second information includes a second SSID of the electronic device; forward connection information from the second external device (300, 400), to the first external device through at least one of the transceiver or the communication interface, wherein the connection information is based on the first information and the second information and includes the second SSID for a wireless connection between the first external device and the electronic device; or receive a transmission request of said connection information from the second external device (300, 400) through at least one of the transceiver or the communication interface and, in response to the transmission request, transmit said connection information to the first external device by using the transceiver; and connect to the first external device wirelessly through the transceiver by using the connection information.