Hi Eugene Grpc server is not getting started. When I start the service locally I see some logs like [main] [] INFO net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle - gRPC Server started, listening on address: *, port: 8008 But I didn't see the same log when I am starting my service on the docker machine on the server.
There might be some issue in Docker setup. But I think that will not stop the grpc server start. On Thu, Jun 22, 2023 at 12:04 AM Eugene Ostroukhov <[email protected]> wrote: > https://docs.docker.com/engine/reference/commandline/exec/ > > I think there's some issue with your Docker setup. Try running interactive > shell in the container and find any logs. > > On Wed, Jun 21, 2023 at 11:15 AM Priyam Arya <[email protected]> > wrote: > >> Hi Eugene, >> >> server.port=5402 >> grpc.server.port=8008 >> >> Running my service with >> >> sudo docker run -d -p 5402:5402 -p 8007:8007 >> >> >> >> >> On Wed, Jun 21, 2023 at 11:27 PM 'Eugene Ostroukhov' via grpc.io < >> [email protected]> wrote: >> >>> Are you publishing the ports as expected by the Docker? See >>> https://docs.docker.com/network/ >>> >>> Please provide more information, e.g. your Dockerfile. >>> >>> On Wednesday, June 21, 2023 at 5:34:34 AM UTC-7 Priyam Arya wrote: >>> >>>> Hi team, >>>> >>>> I am using grpc in the Springboot service. When I am starting the >>>> service in my local grpc server is up and listening on the given port. >>>> >>>> But when I am starting the same service with the docker machine on the >>>> server. Service is not listening on grpc port. No error logs are coming >>>> from grpc when we are starting our service in docker. >>>> >>>> Can someone pls help with the above issue? >>>> >>>> Thanks and regards >>>> Priyam >>>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "grpc.io" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/grpc-io/sgpCBtH4a7o/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/grpc-io/e7779483-2f93-4a78-b522-8a47c3bf74d6n%40googlegroups.com >>> <https://groups.google.com/d/msgid/grpc-io/e7779483-2f93-4a78-b522-8a47c3bf74d6n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> The information contained in this e-mail and any attachments to this >> message are intended for the exclusive use of the intended recipient and >> may contain proprietary, confidential or legally privileged information. If >> you are not the intended recipient, please note that you are not authorised >> to disseminate, distribute or copy this e-mail or any parts of it or act >> upon/rely on the contents of this e-mail in any manner. Please notify the >> sender immediately by e-mail and destroy all copies of this e-mail and any >> attachments. > > -- The information contained in this e-mail and any attachments to this message are intended for the exclusive use of the intended recipient and may contain proprietary, confidential or legally privileged information. If you are not the intended recipient, please note that you are not authorised to disseminate, distribute or copy this e-mail or any parts of it or act upon/rely on the contents of this e-mail in any manner. Please notify the sender immediately by e-mail and destroy all copies of this e-mail and any attachments. -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAM%3DHa1opLVxd86BhDVc0r1p%2BCeZUi7Tzre-c%2ByPSN%3Dx%2BKkiuYw%40mail.gmail.com.
