mattdibi / redox-w-firmware

Firmware for nordic MCUs used in the Redox wireless keyboard
MIT License
73 stars 42 forks source link

Fix localhost issue in docker #21

Closed Pastitas closed 3 years ago

Pastitas commented 3 years ago

The flashing process was failing with:

telnet: could not resolve localhost/4444: Name or service not known

So I tried changing localhost to 127.0.0.1, and it now works

Pastitas commented 3 years ago

My current OS is Manjaro . Yeah, I actually didn't think about IPv6 because adoption is not very widespread now, maybe it makes more sense to use localhost, my though process was: let's get dns out of the process to simplify even further and make it work more consistently

Maybe there is a way to make docker use ipv4 from the dockerfile so that there are no issues with ipv6

mattdibi commented 3 years ago

I say let's try with 127.0.0.1. I already encountered the failing localhost lookup problem once, but never seen an IPv6-only system in the wild.

Thanks for your contribution :)