FUOTA server example script connection error

I am trying to run the example code provided in FUOTA server (examples/class_c/main.go), however I encountered connection issue when trying to connect with FUOTA api server:

panic: rpc error: code = Unavailable desc = connection error: desc = “transport: Error while dialing dial tcp connect: connection refused”

I also tried dialing to
Got response:

panic: rpc error: code = Unimplemented desc = unknown service fuota.FUOTAServerService

I suspect that 8080 is application server api and now it does not incorporate FUOTA server api?

Here is my configuration:

  1. FUOTA server:

    FUOTA server api:
    FUOTA server event handler:
    Application server api: ( is localhost, but somehow I cannot start the FUOTA server if the ip is
    api token: generated from application server web interface Org API Key

  2. Application server
    HTTP integration endpoint:

What step am I missing?
I think I dial to the correct ip? (8070)


This issue is resolved.
Since I run the fuota server in a docker container, I changed the ip (in configuration file of ChirpStack fuota server) and in example go file from to my docker container ip:8070 and it worked!