Scenes:
The computer has two network cards, one Ethernet and one WIFI network card
The address set by the Ethernet is 172.16.0.101 (the default gateway is 172.16.0.254). Under normal circumstances, you can ping Communication server (172.16.9.251) and connection server.
When the computer is connected to the mobile hotspot (wifi), the computer can access the Internet, but the computer does not ping 172.16.9.251.
Solution
Reference: https://baijiahao.baidu.com/s?id=1757152878290441136&wfr=spider&for=pc
In short: Develop cmd.exe as an administrator and enter the following command to add routing to the computer:
route add 172.16.9.0 mask 255.255.255.0 172.16.0.254 -p