> For the complete documentation index, see [llms.txt](https://doc.bitbrowser.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.bitbrowser.net/question/issues/how-to-detect-the-local-network-environment.md).

# 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>
