Check the local export IP
At work, you often need to check the ip address of the local machine or server, and then you need to verify the local export IP and so on when adding the whitelist or writing some scripts. Some company APIs need to be whitelisted before they can be called, such as the Wechat official account. The following is my collection and view of the server's exit ip address to share with all the bosses.
Curl ip.gettools.infocurl icanhazip.comcurl ifconfig.mecurl curlmyip.comcurl ip.appspot.comcurl ipinfo.io/ipcurl ipecho.net/plaincurl www.trackip.net/i
Note: under the linux server, you can view it by executing the curl command directly. In the case of a win server, you can copy the domain name to the stream server to view it, such as:
Linux:
Windows: