Hyper text transport protocol (http)-based communication method for connection of public network with intranet computer

The invention relates to the field of computer network communication and discloses an http-based communication method for connection of a public network with an intranet computer. A double-network-card computer is included and distributed with a public network (internet protocol) IP address and an intranet IP address simultaneously. The communication method comprises the steps that the double-network-card computer receives an http request sent by a public network computer, analyzes the IP address and the port number of the specified intranet computer from the http request and forwards the request and responses and transmits data between the public network computer and the specified intranet computer. The communication method has the advantages that a network passing method capable of penetrating intranets is built, and the method has few steps, is safe and reliable and has high application values.