tonic icon indicating copy to clipboard operation
tonic copied to clipboard

Do tonic clients accept in-bound traffic?

Open vedantroy opened this issue 4 years ago • 1 comments

I'm running a tonic client in a docker container & I'm getting the error:

Could not spawn client: transport error: error trying to connect: tcp connect error: Cannot assign requested address (os error 99)

I'm a bit confused. I know docker containers allow outbound traffic. For example, I can make HTTP requests to websites without issue. And I assumed tonic clients were roughly the same, where they only initiate outbound traffic & aren't servers.

But it seems like I'm wrong. Do tonic clients also act like servers?

vedantroy avatar Feb 27 '21 01:02 vedantroy

I don't know for sure but feels like it could be related to server to client (or bidirectional) streams. So the client is able to receive data from the server.

davidpdrsn avatar May 01 '21 17:05 davidpdrsn