Hello all, i have same experience also like that, in my solution is by configure the firewall due to blocked programs to access that port (localhost:8000) since i use windows to try docker images loraserver, and i use cmd.exe to execute the docker, then just add cmd.exe to the firewall to allow it access through firewall.
I have running iroha container as you can see in right console on 50051 port, but on running the above docker file for web GRPC then you can see in left console it is unable to make connection. as i have also tried with enabling and disabling the firewalls and also with opening the 50051 withudo ufw allow 50051 sudo ufw allow 50051 …But in the end i have the same results
"Err: connection error: desc = “transport: Error while dialing dial tcp 127.0.0.1:50051: connect: connection refused”. Reconnecting… system=system"grpc: addrConn.createTransport failed to connect to {dev.localdomain:50051 dev.localdomain:50051 0 }. Err: connection error: desc = “transport: Error while dialing dial tcp: lookup dev.localdomain on 8.8.8.8:53: no such host”