Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Check the local export IP

Shulou Source: shulou.com Published: 2022-06-01 06:23:25 10月04日 Update

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:

Tags: Server service exit list address local machine public company replicable command domain name comment interface time script if gauge adjustable boss work Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Xiaomi Docker MariaDB Huawei