# How to detect the local network environment?

## Windows 10 operating system

Step 1: Press Win+R on your keyboard, type 'cmd', and click 'OK'.

Alternatively, right-click the Start menu, choose "Run," enter 'cmd'

Step 2: In the cmd command-line interface, type 'curl ip-api.com' and press Enter. If the highlighted area displays "China," it indicates that the local network environment is within mainland China.

<figure><img src="/files/YZ7MMJYRjpu3S4lxQT7R" alt=""><figcaption></figcaption></figure>

## Windows 7 operating system

Step 1: Download the file named \[Local Network Test for Windows 7.zip], and extract it to your desktop. Click the link below to initiate the download.

{% embed url="<https://downsoft.bitbrowser.cn/Local%20Network%20Test%20for%20Windows%207.zip>" %}

<div align="left"><figure><img src="/files/wCURyKRnl2r86yBQoJDq" alt=""><figcaption></figcaption></figure></div>

Step 2: Open the extracted folder, and double-click on \[BitBrowser.bat] using your mouse.

<div align="left"><figure><img src="/files/VSEDCwoCHX0KjlPiM1X6" alt=""><figcaption></figcaption></figure></div>

Step 3: If the area highlighted in the image displays 'cn,' it indicates that the local network environment is within mainland China.

<figure><img src="/files/qAQ7V7ctz6jJrNibNvLL" alt=""><figcaption></figcaption></figure>

## MacOS operating system (Apple computer)

Step 1: Locate "Terminal" on your desktop and open it.

Step 2: Type 'curl ip-api.com' and press Enter. If the highlighted content in the red box displays "China," it indicates that the local network environment is within mainland China.

<figure><img src="/files/XYwEotlaCgDNfEzVGrZg" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.bitbrowser.net/question/issues/how-to-detect-the-local-network-environment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
