Hello guys,
last days i was trying to connect to my gRPC server - from outside.
The server is implemented in nodejs and utilizes following packages :
“express”: “^4.17.2”,
“@grpc/grpc-js”: “^1.5.3”,
“google-protobuf”: “^3.19.4”.
Two client apps were implemented:
-
one within the project (on Glitch) using JavaScript,
-
and another one as external application (outside from Glitch) using C#.
The problem is, that the external client app is unable to connect gRPC server.
I tried to use several targets in external client app (for example) :
myproject.glitch.me:PORT
dns:///myproject.glitch.me:PORT
But without success.
Each time I get the message : 14 UNAVAILABLE: Name resolution failed for target dns
If a client is implemented within my Glitch project, then the gRPC communication works well.
But its target is set to :
dns:///localhost:PORT
However, it is impossible to use the same target in external client app, beacuse it’s running out of the Glitch.
Is there any solution?
Does Glitch support external access to the gRPC server from outside?
Many thanks for your answers.