Something on my windows machine is listening on port 8884 (the process belongs to System so I can’t kill it), so I had to bind 3884:8884
instead of 8884:8884
.
I tried ttn-lw-cli use 192.168.1.13:3884
but that didn’t work:
/ # ttn-lw-cli users list
WARN [core]grpc: addrConn.createTransport failed to connect to {192.168.1.13:8884 192.168.1.13:8884 <nil> 0 <nil>}. Err: connection error: desc = "transport: error while dialing: dial tcp 192.168.1.13:8884: connect: connection refused". Reconnecting...
connection error: desc = "transport: error while dialing: dial tcp 192.168.1.13:8884: connect: connection refused"
Specifying 192.168.1.13:3884
in the ttn-lw-cli
environment variables worked.
I don’t have my linux machine on hand right now, but I think ttn-lw-cli use x.x.x.x
would work fine there as it doesn’t have any clashes on port 8884