Unable to access server via .local hostname Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
theChef613
Posts: 7
Joined: Wed Sep 05, 2018 6:59 am

Unable to access server via .local hostname

Post by theChef613 »

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

Code: Select all

curl: (28) Resolving timed out after 2000 milliseconds
just below the LAN IP information.

Thank you for the help!
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: Unable to access server via .local hostname

Post by Joulinar »

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 <yourname>.local . Usually it should return the DNS server ask as well as the IP address of your DietPi device.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
trendy
Posts: 133
Joined: Tue Feb 25, 2020 2:54 pm

Re: Unable to access server via .local hostname

Post by trendy »

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.
theChef613
Posts: 7
Joined: Wed Sep 05, 2018 6:59 am

Re: Unable to access server via .local hostname

Post by theChef613 »

Hello,
thank you for all the help. I figured out what it is! I simply didn't have Bonjor service installed on my computer.. :lol:
https://www.raspberrypi.org/forums/view ... p?t=201013
https://support.apple.com/kb/DL999?view ... cale=en_US
Post Reply