As shown above, what is the significance of this? Doesn’t the server only have one external IP address? Does anyone have any specific application case description?
Basically, servers have more than one IP. For management and security reasons, the IDC computer room requires at least two network cards for a server, one for internal management and one for external services.
In fact, in order to fully meet the needs of virtualization, it is common for cloud hosts to be equipped with 7 or 8 network cards, not to mention those virtual network cards. Even virtual machines purchased through cloud services (such as Alibaba Cloud) usually have two virtual network cards, similar to the following:
Here is a public network address and an intranet address - it can also be seen from here that Alibaba Cloud does not use the traditional static NAT method to map the public IP to the intranet, but uses virtual network technology (or more fashionable One point, called SDN technology) directly assigns public IP addresses to virtual machines.
So software that provides network services can usually specify which IP address to bind to, preventing requests from other networks from accessing this service. Of course, Nginx can also provide the same service for requests from any network without specifying an IP.
If your server has multiple network cards, you can set multiple IP addresses. The reason why IP is needed is because the socket monitoring needs to specify the address and port, so that the interaction between the programs knows who to send to (the IP address is specified) Host)
Basically, servers have more than one IP. For management and security reasons, the IDC computer room requires at least two network cards for a server, one for internal management and one for external services.
In fact, in order to fully meet the needs of virtualization, it is common for cloud hosts to be equipped with 7 or 8 network cards, not to mention those virtual network cards. Even virtual machines purchased through cloud services (such as Alibaba Cloud) usually have two virtual network cards, similar to the following:

Here is a public network address and an intranet address - it can also be seen from here that Alibaba Cloud does not use the traditional static NAT method to map the public IP to the intranet, but uses virtual network technology (or more fashionable One point, called SDN technology) directly assigns public IP addresses to virtual machines.
So software that provides network services can usually specify which IP address to bind to, preventing requests from other networks from accessing this service. Of course, Nginx can also provide the same service for requests from any network without specifying an IP.
If your server has multiple network cards, you can set multiple IP addresses. The reason why IP is needed is because the socket monitoring needs to specify the address and port, so that the interaction between the programs knows who to send to (the IP address is specified) Host)
You can also not specify the IP. If no IP is specified, it means monitoring the local IP.
Not all servers have only one external IP address.
The server does not necessarily have only one internet IP
nginx may not be provided to external parties