Skip to content

can't connect to grpc server in docker dontainer #4789

@AhmadVatani

Description

@AhmadVatani

I have grpc server in a docker container and run my docker container with below command:
run -p 127.0.0.1:8090:9091 --name test -v "storage":"/usr/storage/test/" test
When I want to connect to this container from grpc client on calling remote procedure I got network closed exception!
I'm using grpc v1.12.0

io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason
	at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:221)
	at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:202)
	at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:131)

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions