# Build Couldn't connect to server

**URL:** <https://discourse.slicer.org/t/build-couldnt-connect-to-server/31200>\
**Category:** Support\
**Tags:** build\
**Created:** [August 17, 2023, 7:13pm UTC](https://discourse.slicer.org/t/build-couldnt-connect-to-server/31200 "2023-08-17T19:13:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kening\_Zhang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kening_zhang/32/65641_2.png) [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Post date:** [August 17, 2023, 7:13pm UTC](https://discourse.slicer.org/t/build-couldnt-connect-to-server/31200/1 "2023-08-17T19:13:32Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/d/8df18723efc42cfd0f4fa7dcee82e006c9af1f00.png)  
I try to build Slicer on my mac, but error happens, I try both http and https, and try open and close firewall, but cannot solve this problem.

---

<div class="post-metadata">

**Author:** ![Kening\_Zhang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kening_zhang/32/65641_2.png) [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Post date:** [August 17, 2023, 7:23pm UTC](https://discourse.slicer.org/t/build-couldnt-connect-to-server/31200/2 "2023-08-17T19:23:23Z")

</div>

In China, If you use a proxy server, make sure CMake is able to use the proxy properly. You may need to set the proxy information in the CMake configuration option or adjust your network environment based on the proxy Settings.  
Here is an example,  
export https\_proxy=[http://127.0.0.1:33210](http://127.0.0.1:33210) http\_proxy=[http://127.0.0.1:33210](http://127.0.0.1:33210) all\_proxy=socks5://127.0.0.1:33210
