# How to setup Local server and client on target?

**URL:** <https://hub.mender.io/t/how-to-setup-local-server-and-client-on-target/3197>\
**Category:** General Discussions\
**Created:** [February 10, 2021, 1:15pm UTC](https://hub.mender.io/t/how-to-setup-local-server-and-client-on-target/3197 "2021-02-10T13:15:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishek](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@abhishek](https://hub.mender.io/u/abhishek)\
**Post date:** [February 10, 2021, 1:15pm UTC](https://hub.mender.io/t/how-to-setup-local-server-and-client-on-target/3197/1 "2021-02-10T13:15:16Z")

</div>

Hi  
I am looking to setup local server on my laptop and client on my target board. How to do it? It asks for pubic IP but I want to setup using local IP so that my target can communicate on local network. How can to do that?  
My target is not ARM so I am building from source. make command throws “segmentation fault”  
Please help.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [February 10, 2021, 2:20pm UTC](https://hub.mender.io/t/how-to-setup-local-server-and-client-on-target/3197/2 "2021-02-10T14:20:18Z")

</div>

Hi @abhishek welcome to Mender hub. What step is asking for a public IP? I suspect you can just enter the private IP of your server there and as long as your client can contact your server you should be fine.  
Drew

---

<div class="post-metadata">

**Author:** ![abhishek](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@abhishek](https://hub.mender.io/u/abhishek)\
**Post date:** [February 11, 2021, 9:28am UTC](https://hub.mender.io/t/how-to-setup-local-server-and-client-on-target/3197/3 "2021-02-11T09:28:55Z")

</div>

Thank you for your response.  
Can you please guide me how to build mender client from source. Is their any step-by-step tutorial/docs available?I came across this doc [Notes from a user on Mender without Yocto | Mender](https://mender.io/blog/notes-from-a-user-on-mender-without-yocto) but it does not help much. Any other resource?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [February 11, 2021, 4:15pm UTC](https://hub.mender.io/t/how-to-setup-local-server-and-client-on-target/3197/4 "2021-02-11T16:15:03Z")

</div>

Hi @abhishek those details are in the [github repo for the mender client here](https://github.com/mendersoftware/mender#installing-from-source).

Drew
