# Unable to access server via .local hostname

**URL:** <https://dietpi.com/forum/t/unable-to-access-server-via-local-hostname/4542>\
**Category:** Troubleshooting\
**Created:** [16 October 2020 06:59 UTC](https://dietpi.com/forum/t/unable-to-access-server-via-local-hostname/4542 "2020-10-16T06:59:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![theChef613](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/c67d28/32.png) [@theChef613](https://dietpi.com/forum/u/theChef613)\
**Post date:** [16 October 2020 06:59 UTC](https://dietpi.com/forum/t/unable-to-access-server-via-local-hostname/4542/1 "2020-10-16T06:59:20Z")

</div>

Hello,  
Recently I havent been able to access my dietpi’s server via hostname.local. Oddly enough it seems to be working for my desktop but not my laptop? inputing the ip address on my dietpi still does work though, but i’d like to use the hostname.local if i can. I’ve already tried flushing the dns using the ipconfig /flushdns command. not sue what else I should be doing.  
THe only other thing I notice is that whenever i log onto the server I get the line

```nohighlight
curl: (28) Resolving timed out after 2000 milliseconds

```

just below the LAN IP information.

Thank you for the help!

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [16 October 2020 07:33 UTC](https://dietpi.com/forum/t/unable-to-access-server-via-local-hostname/4542/2 "2020-10-16T07:33:34Z")

</div>

Hi,

many thanks for your message. This doesn’t seems to be an issue of DietPi. Looks like you are not able to resolve the host name on your laptop correctly. You could try using command prompt and check result of nslookup .local . Usually it should return the DNS server ask as well as the IP address of your DietPi device.

---

<div class="post-metadata">

**Author:** ![trendy](https://dietpi.com/forum/user_avatar/dietpi.com/trendy/32/61_2.png) [@trendy](https://dietpi.com/forum/u/trendy)\
**Post date:** [16 October 2020 09:07 UTC](https://dietpi.com/forum/t/unable-to-access-server-via-local-hostname/4542/3 "2020-10-16T09:07:41Z")

</div>

It looks like the resolver used is not reachable. Make sure it is using the correct one.  
If you run just `nslookup` without any arguments it will output the nameserver used.

---

<div class="post-metadata">

**Author:** ![theChef613](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/c67d28/32.png) [@theChef613](https://dietpi.com/forum/u/theChef613)\
**Post date:** [16 October 2020 16:38 UTC](https://dietpi.com/forum/t/unable-to-access-server-via-local-hostname/4542/4 "2020-10-16T16:38:52Z")

</div>

Hello,  
thank you for all the help. I figured out what it is! I simply didn’t have Bonjor service installed on my computer… 🤣  
[https://www.raspberrypi.org/forums/viewtopic.php?t=201013](https://www.raspberrypi.org/forums/viewtopic.php?t=201013)  
[https://support.apple.com/kb/DL999?viewlocale=en\_US&locale=en\_US](https://support.apple.com/kb/DL999?viewlocale=en_US&locale=en_US)
