Private Networking not Working with gRPC
jonathan-lee-devel
PROOP
a year ago
Hi, I am deploying a NestJS microservices monorepo to your platform. It makes use of HTTP which works fine, but the inter-service communication is done over gRPC.
I can't seem to get the URL to work, it just says connection refused.
ClientsModule.register([
{
transport: Transport.GRPC,
name: PAYMENTS_PACKAGE_NAME,
options: {
url: `${process.env.PAYMENTS_SERVICE_DOMAIN}:10000`,
protoPath: getProtoPath('payments.proto'),
package: PAYMENTS_PACKAGE_NAME,
},
},
]),When the service is deployed locally, with PAYMENTSSERVICEDOMAIN set to localhost, it works fine. But it doesn't seem to work over the Railway private network. Am I missing something? Any guidance would be greatly appreciated.
ⓘ Deployment information is only viewable by project members and Railway employees.
0 Replies