Live data from Hacker News

Show HN: Local development with .local domains and HTTPS

localcan.com

21–30 of 108 posts

Re: Show HN: Local development with .local domains and HTTPS

#21
post #4

Is this something like how ".local" is already a mDNS standard but OSX and android won't support it yet? (Unless they buy your app) I can already access "myserverhost.local" from everything but android and OSX. Windows and Linux work fine automatically.

Android supports it now.

https://source.android.com/docs/core/ota/modular-system/dns-...

Re: Show HN: Local development with .local domains and HTTPS

#22
Regarding the certs. Does this do something special to trust the self-signed root certificate that you add? or do you need to manually trust it on any device that you use to connect to this?

I assume that's the case, but want to check I understand correctly.

Re: Show HN: Local development with .local domains and HTTPS

#23

I feels this is something that should NOT be a payable service at all. I am sure its not rocket science, not even Linux support? Probably some open source tools for this to set it up your self for free.

The mDNS broadcast thing is pretty easy, I've used pybonjour for that for a while. The SSL part, well, it's a bigger hassle.

Re: Show HN: Local development with .local domains and HTTPS

#27

> Forget editing /etc/hosts or typing 192.168.0.12! Instead, pay $19 (instead of $29!) excl. VAT for a service that does this for you! God damn, I hate this industry.

When I read this comment I knew it must be targeting MacOS users. The only reason I clicked the link is to confirm my assumption.

Edit: I'm not trying to shame MacOS users. I'm just saying that Linux and MacOS users (Windows users don't use /etc/hosts so out of discussion) have very different behaviour regarding paying for software.

Re: Show HN: Local development with .local domains and HTTPS

#28
post #21
post #4

Is this something like how ".local" is already a mDNS standard but OSX and android won't support it yet? (Unless they buy your app) I can already access "myserverhost.local" from everything but android and OSX. Windows and Linux work fine automatically.

Android supports it now. https://source.android.com/docs/core/ota/modular-system/dns-...

Do you mean that this issue report can now be considered as resolved?

https://issuetracker.google.com/issues/140786115

I'd love to update my notes if that's the case.

Re: Show HN: Local development with .local domains and HTTPS

#29

Looks like an interesting project. What I guess is not really clear is why you'd want to do TLS for local only connections? Are the services published with the .local domain accessible from outside as well so it's like a ngrok alternative? I'm pretty sure I'm misunderstanding the value-add of having TLS for localhost connections...

TLS is easy enough... I'm just not sure why one would want or need a certificate authority involved with local connections other than to get rid of the nag screen in Firefox or Chrome.

Re: Show HN: Local development with .local domains and HTTPS

#30

> Forget editing /etc/hosts or typing 192.168.0.12! Instead, pay $19 (instead of $29!) excl. VAT for a service that does this for you! God damn, I hate this industry.

I'm not justifying the price, but it looks more complicated than editing host files, which wouldn't just be hard but sometimes impossible on devices without access to `/etc/hosts`. Is an mDNS broadcaster worth $20? Apparently 250 people think so according to their marketing. I'm not sure I agree either.
Post reply on HN