Abstract: A connection method, device, display apparatus, terminal apparatus and medium, are provided. The method includes: in the non-networkable case, generating a connection code based on connection information, so that a first screen-transmission application of a client terminal parses the connection code to obtain the connection information, and then establishes a connection between the first screen-transmission application and a second screen-transmission application through the connection information; and publishing service information, wherein the service information includes connection code and available connection information indicated by the connection code, so that when the client terminal cannot establish a connection based on the connection information, the client terminal is connected to the server terminal based on the service information.