A non-transitory computer-readable medium storing an information processing program to be executed by a computer of an information processing apparatus, the information processing apparatus having: a transceiver section configured to communicate to an image processing apparatus through a first communication interface, a transmission/reception data processing section configured to process transmission or reception data, which is transmitted to and received from the image processing apparatus by execution of an application program, according to a particular protocol in accordance with transmission or reception through a second communication interface different from the first communication interface, and at least one connection section (31, 32, 33) to connect with the first communication interface, the information processing program causing the information processing apparatus to function as: a loopback address registering section configured to register, in association with a port number representing each connection section (31, 32, 33), a loopback address which is set in the information processing apparatus; a data transmission control section configured to control, in a case where the transmission destination address of transmission data processed by the transmission/reception data processing section is the loopback address, the transceiver section to transmit the transmission data through the first communication interface, wherein, in a case where a transmission destination of transmission data processed by the transmission/reception data processing section is the loopback address associated with the port number, the data transmission control section controls the connection section (31, 32, 33) corresponding to the associated port number to transmit the transmission data to the image processing apparatus through the first communication interface; an apparatus information requesting section that controls, in a case where a retrieval request of the image processing apparatus connected to the connection section (31, 32, 33) is received from the transmission/reception data processing section, the data transmission control section to request the image processing apparatus connected to the connection section (31, 32, 33) to provide apparatus information representing the image processing apparatus; and an apparatus information reception control section that controls, in a case where the apparatus information is received from the image processing apparatus through the connection section (31, 32, 33) in response to an apparatus information request based on the apparatus information requesting section, the transmission/reception data processing section to process a response to the retrieval request, in which the received apparatus information is associated with a port number corresponding to the connection section (31, 32, 33). a loopback address registering section configured to register, in association with a port number representing each connection section (31, 32, 33), a loopback address which is set in the information processing apparatus; a data transmission control section configured to control, in a case where the transmission destination address of transmission data processed by the transmission/reception data processing section is the loopback address, the transceiver section to transmit the transmission data through the first communication interface, wherein, in a case where a transmission destination of transmission data processed by the transmission/reception data processing section is the loopback address associated with the port number, the data transmission control section controls the connection section (31, 32, 33) corresponding to the associated port number to transmit the transmission data to the image processing apparatus through the first communication interface; an apparatus information requesting section that controls, in a case where a retrieval request of the image processing apparatus connected to the connection section (31, 32, 33) is received from the transmission/reception data processing section, the data transmission control section to request the image processing apparatus connected to the connection section (31, 32, 33) to provide apparatus information representing the image processing apparatus; and an apparatus information reception control section that controls, in a case where the apparatus information is received from the image processing apparatus through the connection section (31, 32, 33) in response to an apparatus information request based on the apparatus information requesting section, the transmission/reception data processing section to process a response to the retrieval request, in which the received apparatus information is associated with a port number corresponding to the connection section (31, 32, 33).