In order to effectively prevent direct and indirect losses the lightning disasters bring to coastal ports and guarantee the security of production, this paper proposes to establish a lightning forecast system of ports based on cloud technology, which includes three functions, such as collecting underlying lightning data, analyzing and predicting based on cloud big data technology and pushing warning information. This platform can fully and effectively collect the lightning raw data, and upload these data to storage resource pool, and then use distributed computing for lightning location algorithm and multi-level threshold judgments. Once lightning warning signal generates, it will be pushed to mobile terminals immediately for people to start lightning protection plans in advance, to keep the safety of work and reduce the equipment damages caused by lightning.