SHANGHAI (AFP) - China Friday warned millions of people living along its east coast to stay indoors and cancelled more than 100 flights in preparation for the most powerful typhoon in years. Typhoon Muifa, which was packing winds of up to 162 kilometres per hour (100 miles per hour), is expected to make landfall on China's east coast on Saturday evening or on Sunday. A weather official in Shanghai told local media the city had "basically ruled out" a direct hit, yet warned it might be close. The typhoon would be the worst to affect China's commercial centre since 2005, when Typhoon Matsa killed seven people after making landfall nearby. China Southern Airlines cancelled more than 140 flights to eastern China from Saturday afternoon while Shanghai-based China Eastern Airlines warned of a "severe impact" on services. Shanghai warned bullet train services might be affected by the storm - a sensitive issue after a deadly high-speed train crash two weeks ago that was initially blamed on weather conditions. The official Xinhua news agency said China had called more than 7,000 fishing boats back to harbour and local governments were preparing for possible evacuation of residents. Muifa lashed Japan's Okinawa island Friday, causing heavy rains, sparking flight cancellations and blackouts and leaving at least a dozen people with mostly light injuries. China's National Meteorological Centre said the typhoon was forecast to make landfall in the eastern provinces of Zhejiang or Jiangsu, both of which neighbour Shanghai. Meanwhile, the toll from floods and mudslides in Thailand caused by the tail end of tropical storm Nock-ten has risen to 13, Thai authorities said on Friday. Sixteen northern provinces were inundated by the storm, which left more than 60 people dead in the Philippines last month but has since subsided, the Disaster Prevention and Mitigation Department said. Of those killed, seven died in a single mudslide in the mountainous province of Mae Hong Son, near the northwestern border with Myanmar, authorities said. One person remains missing. Rising waters have affected the livelihoods of almost three quarters of a million people in Thailand, and damaged roads, bridges and reservoirs, the department said. Flooding has receded in two provinces. Most of those killed in the Philippines were said to have drowned or been buried in landslides, while most of the missing were fishermen who vanished at sea when the storm hit.