> 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="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FKrEEiGoqBadYaWvsQbNT%2F%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20230817135359.png?alt=media&amp;token=30f11a73-d213-40e0-86b7-cf3ed5d86f3a" 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="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2Fgd6fRsdTtcBhBjiXd7sn%2F%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20230817155259.png?alt=media&amp;token=bf00b3d1-4485-4513-a98f-6ed64ba1206d" 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="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2Fil4SV33QY05SrkB9HBYR%2F%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20230817155447.png?alt=media&amp;token=c7b738d9-4046-400d-8365-c2b4ecaf32b7" 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="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2F8UJzWUmOxRq5geUQBJGH%2F%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20230817114305.png?alt=media&amp;token=3e5b3004-ca4b-47fc-8e10-c15c8e7b1638" 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="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FVMASF4U8Z0D7rqpK4wRA%2F%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20230817122123.png?alt=media&amp;token=6caa204a-d42d-4406-8c33-e1d2ad43dc9d" alt=""><figcaption></figcaption></figure>
