A powerful typhoon is forecast to bring up to 80 centimeters (31 inches) of rain and damaging winds to the Tokyo area and Japan’s Pacific coast this weekend, and the government is warning residents to stockpile necessities and leave high-risk places before it’s too dangerous.

Rugby World Cup matches and other events were canceled on Saturday, and flights and train services were halted. In the town of Kiho southwest of Tokyo, shops were boarded up, boats were anchored and authorities checked coastal levees. Residents of Tokyo were buying batteries, bottled water, instant noodles and other food.

Meteorological Agency official Yasushi Kajihara said Typhoon Hagibis resembled a typhoon that hit the Tokyo region in 1958 with heavy rains and left a half-million houses flooded. More than 1,200 people died in that storm.

A man who wanted to buy curing tape, stands in front of empty shelves at a home improvement center in Yokohama, near Tokyo Friday, Oct. 11, 2019. A typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area and central Japan's Pacific coast this weekend, and the government warned people Friday to stockpile and leave high-risk places before it's too dangerous. (Shohei Miyano/Kyodo News via AP)
A man who wanted to buy curing tape, stands in front of empty shelves at a home improvement center in Yokohama, near Tokyo Friday, Oct. 11, 2019. A typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area and central Japan’s Pacific coast this weekend, and the government warned people Friday to stockpile and leave high-risk places before it’s too dangerous. (Shohei Miyano/Kyodo News via AP)

“In order to protect your own life and your loved ones, please try to start evacuating early before it gets dark and the storm becomes powerful,” Kajihara said at a news conference Friday.

Prime Minister Shinzo Abe’s Cabinet held a disaster management meeting late Friday, vowing to do its utmost to protect people’s lives. He said 17,000 police and military troops are ready if needed for rescue operations.

“The typhoon could cause power outages, damage to infrastructure and significantly affect people’s lives,” Abe said.

Workers stack sandbags at a construction site in preparation for Typhoon Hagibis on Enoshima Island, Kamakura, west of Tokyo, Friday, Oct. 11, 2019. A typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area and central Japan's Pacific coast this weekend, and the government warned people Friday to stockpile and leave high-risk places before it's too dangerous. (AP Photo/Jae C. Hong)
Workers stack sandbags at a construction site in preparation for Typhoon Hagibis on Enoshima Island, Kamakura, west of Tokyo, Friday, Oct. 11, 2019. A typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area and central Japan’s Pacific coast this weekend, and the government warned people Friday to stockpile and leave high-risk places before it’s too dangerous. (AP Photo/Jae C. Hong)

Economy Minister Isshu Sugawara urged hospitals and other public facilities to check their backup power supplies.

Hagibis, which means speed in Filipino, was advancing north-northwestward with winds of 180 kilometers per hour (110 mph) gusting to 250 kph (156 mph) on Friday afternoon, the weather agency said. It was expected to weaken as it hugs the Pacific coast of Japan’s main island on Saturday, making landfall south of Tokyo and passing out to sea by Sunday afternoon.

The meteorological agency cautioned that the typhoon could trigger waves as high as 13 meters (41 feet) in coastal cities through Saturday.

A man looks at a shop, protected by wood boards, as Typhoon Hagibis approaches in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area this weekend, and Japan's government warned people Friday to stockpile supplies and evacuate before it's too dangerous. (AP Photo/Toru Hanai)
A man looks at a shop, protected by wood boards, as Typhoon Hagibis approaches in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area this weekend, and Japan’s government warned people Friday to stockpile supplies and evacuate before it’s too dangerous. (AP Photo/Toru Hanai)

Up to 80 centimeters (31 inches) of rain was forecast in the capital region.

An evacuation advisory was issued early to 7,568 people on Oshima island in the typhoon’s projected path. Shimoda city, west of Tokyo, also issued an advisory to all of its 21,402 residents. Dozens of evacuation centers were opening in coastal towns in Chiba and Kanagawa prefectures.

The storm is expected to disrupt sports and holiday events on the three-day weekend, which includes Sports Day on Monday. Two Rugby World Cup matches — England vs. France and New Zealand vs. Italy — that were to be played Saturday were canceled. Qualifying for a Formula One auto race in Suzuka was pushed to Sunday. And the Defense Ministry cut a three-day annual navy review to a single day on Monday.

A Kiho town official prepares to close a door of a coastal levee as Typhoon Hagibis approaches at a port in town of Kiho, Mie prefecture, central Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
A Kiho town official prepares to close a door of a coastal levee as Typhoon Hagibis approaches at a port in town of Kiho, Mie prefecture, central Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)

All Nippon Airways grounded all of its domestic flights scheduled on Saturday at Tokyo’s Haneda and Narita international airports, while Japan Airlines canceled all but its early morning flights at Tokyo airports.

Central Japan Railway Co. said it will cancel all bullet train service between Tokyo and Osaka except for several early Saturday trains connecting Nagoya and Osaka.

The typhoon is spreading fear especially in Chiba, near Tokyo, which was hit by Typhoon Faxai last month and where homes still are damaged. That typhoon knocked down about 2,000 power poles, at one point leaving more than 900,000 homes without power, triggering concerns about the country’s aging infrastructure system built decades ago.

A Kiho town official closes a door of a coastal levee as Typhoon Hagibis approaches at a port in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
A Kiho town official closes a door of a coastal levee as Typhoon Hagibis approaches at a port in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)

Chiba city distributed sandbags to shield against flooding and urged residents to make sure they have enough food and water and that their phones are charged. Workers placed huge protective nets over debris from the earlier storm still piled in parts of the city to keep it from being blown away by the new typhoon.

___

Fishing boats are anchored at a port as Typhoon Hagibis approaches in town of Kiho, Mie prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
Fishing boats are anchored at a port as Typhoon Hagibis approaches in town of Kiho, Mie prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
Fishing boats are anchored at a port as Typhoon Hagibis approaches in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
Fishing boats are anchored at a port as Typhoon Hagibis approaches in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
A man places wood boards to protect glasses from Typhoon Hagibis at a shop in Kumano, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area this weekend, and Japan's government warned people Friday to stockpile supplies and evacuate before it's too dangerous. (AP Photo/Toru Hanai)
A man places wood boards to protect glasses from Typhoon Hagibis at a shop in Kumano, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area this weekend, and Japan’s government warned people Friday to stockpile supplies and evacuate before it’s too dangerous. (AP Photo/Toru Hanai)
Men look at surging waves as Typhoon Hagibis approaches at a port in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
Men look at surging waves as Typhoon Hagibis approaches at a port in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
Surging waves hit against the breakwater while Typhoon Hagibis approaches at a port in town of Kiho, Mie prefecture, central Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
Surging waves hit against the breakwater while Typhoon Hagibis approaches at a port in town of Kiho, Mie prefecture, central Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
Surging waves hit against the breakwater while Typhoon Hagibis approaches at a port in town of Kiho, Mie prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
Surging waves hit against the breakwater while Typhoon Hagibis approaches at a port in town of Kiho, Mie prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon is advancing toward the Tokyo area, where torrential rains are expected this weekend. (AP Photo/Toru Hanai)
Tatoos are seen on the back of Samoa rugby player Tim Nanai-Williams as he prepares for training during the Rugby World Cup Pool A games in Fukuoka, Japan, Friday, Oct. 11, 2019. Samoa will play against Ireland Oct. 12 in Fukuoka while games against England and France in Yokohama and the match between New Zealand and Italy at Toyota city have been cancelled due to the upcoming Typhoon Hagibis. (AP Photo/Aaron Favila)
Tatoos are seen on the back of Samoa rugby player Tim Nanai-Williams as he prepares for training during the Rugby World Cup Pool A games in Fukuoka, Japan, Friday, Oct. 11, 2019. Samoa will play against Ireland Oct. 12 in Fukuoka while games against England and France in Yokohama and the match between New Zealand and Italy at Toyota city have been cancelled due to the upcoming Typhoon Hagibis. (AP Photo/Aaron Favila)
A notice paper on suspending operations of the Shinkansen or bullet train on Oct. 12-13 due to Typhoon Hagibis, is posted at Tokyo Station in Tokyo Friday, Oct. 11, 2019. Japan's weather agency is warning a powerful typhoon may bring torrential rains to central Japan over the weekend. (AP Photo/Eugene Hoshiko)
A notice paper on suspending operations of the Shinkansen or bullet train on Oct. 12-13 due to Typhoon Hagibis, is posted at Tokyo Station in Tokyo Friday, Oct. 11, 2019. Japan’s weather agency is warning a powerful typhoon may bring torrential rains to central Japan over the weekend. (AP Photo/Eugene Hoshiko)
An electric board shows a notice on suspending operations of the Shinkansen or bullet train on Oct. 12-13 due to Typhoon Hagibis, at Tokyo Station in Tokyo Friday, Oct. 11, 2019. Japan's weather agency is warning a powerful typhoon may bring torrential rains to central Japan over the weekend. (AP Photo/Eugene Hoshiko)
An electric board shows a notice on suspending operations of the Shinkansen or bullet train on Oct. 12-13 due to Typhoon Hagibis, at Tokyo Station in Tokyo Friday, Oct. 11, 2019. Japan’s weather agency is warning a powerful typhoon may bring torrential rains to central Japan over the weekend. (AP Photo/Eugene Hoshiko)
A man watches a public TV of weather forecast in Tokyo Friday, Oct. 11, 2019. Japan's weather agency is warning a powerful typhoon may bring torrential rains to central Japan over the weekend. (AP Photo/Eugene Hoshiko)
A man watches a public TV of weather forecast in Tokyo Friday, Oct. 11, 2019. Japan’s weather agency is warning a powerful typhoon may bring torrential rains to central Japan over the weekend. (AP Photo/Eugene Hoshiko)
A pottery figurine is placed inside a flower shop as Typhoon Hagibis approaches in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area this weekend, and Japan's government warned people Friday to stockpile supplies and evacuate before it's too dangerous. (AP Photo/Toru Hanai)
A pottery figurine is placed inside a flower shop as Typhoon Hagibis approaches in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area this weekend, and Japan’s government warned people Friday to stockpile supplies and evacuate before it’s too dangerous. (AP Photo/Toru Hanai)
A man puts off things at a flower shop as Typhoon Hagibis approaches in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area this weekend, and Japan's government warned people Friday to stockpile supplies and evacuate before it's too dangerous. (AP Photo/Toru Hanai)
A man puts off things at a flower shop as Typhoon Hagibis approaches in town of Kiho, Mie Prefecture, Japan Friday, Oct. 11, 2019. A powerful typhoon was forecast to bring 2 feet of rain and damaging winds to the Tokyo area this weekend, and Japan’s government warned people Friday to stockpile supplies and evacuate before it’s too dangerous. (AP Photo/Toru Hanai)