home> FAQ > Use Static ISP Proxy> How to test if a static IP is valid
How to test if a static IP is valid
LunaProxy does not support use in the network environment of mainland China. Before using the proxy, please confirm that your network environment is non-mainland China.
Detect local environment command: curl ipinfo.io
If you need to detect the local network environment, please open the command prompt and enter the above test command
1. Enter the personal center to view the purchased IP
2. Copy the usage code (test command)
3. Open the command prompt (cmd) in your computer and paste the test command
4. Fill in the IP and port that need to be tested in the corresponding IP and port. After filling in, press the Enter key to display the test results.
Command 1: curl -x static IP:port -U "your account:your password" myip.lunaproxy.io
Command 2: curl -x static IP:port -U "your account:your password" ipinfo.io
As shown in the figure, the test results of both test commands display correct IP information. Command 1 is the personal center test command, and command 2 can test more detailed IP information.
If the test results do not show IP information, such as connection timeout, failure to connect, etc., please take a screenshot of the test results and copy the test command and send it to the official email: [email protected]