[SOLVED] can't resolve host 127.0.0.1 Service not found


When I installed ModeSMixer2 on 64-bit DietPi Bullseye, It gave following error:

Jan 17 12:20:58 DietPi modesmixer2[468]: 2022-01-17 12:20:58.417  ERROR    inConnectId(127.0.0.1:30005:ADSB) can't resolve host 127.0.0.1 Service not found

Radarbox24’s rbfeeder also failed on DietPi with following error message:

getaddrinfo: Servname not supported for ai_socktype
[2022-01-17 12:34:11]  Could not resolve host name specified in 'external_host'.

I solved this problem by installing package “netbase”.
After installation of “netbase”, both ModeSMixer2 and rbfeeder started working normally.

sudo apt update  
sudo apt install netbase  
sudo reboot

Please see these posts:
https://discussions.flightaware.com/t/automated-installation-of-modesmixer2-modesdeco2-on-rpi/53899/90
https://forum.radarbox24.com/index.php?PHPSESSID=82915giiesh3sksd6b3kekoqpb&topic=101981.msg400661#msg400661