From c0e0aafa749f893d7b4f75a8dd7b93fea8153cdc Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Tue, 22 Dec 2015 15:25:08 +0900 Subject: gobgpd/gobgp: change grcp port to 50051 from 8080 also add an option to change grpc port Signed-off-by: ISHIDA Wataru --- tools/grpc/nodejs/get_neighbors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/grpc/nodejs') diff --git a/tools/grpc/nodejs/get_neighbors.js b/tools/grpc/nodejs/get_neighbors.js index c1ec763b..ba2296fa 100644 --- a/tools/grpc/nodejs/get_neighbors.js +++ b/tools/grpc/nodejs/get_neighbors.js @@ -1,6 +1,6 @@ var grpc = require('grpc'); var api = grpc.load('gobgp.proto').gobgpapi; -var stub = new api.GobgpApi('localhost:8080', grpc.Credentials.createInsecure()); +var stub = new api.GobgpApi('localhost:50051', grpc.Credentials.createInsecure()); var call = stub.getNeighbors({}); call.on('data', function(neighbor) { -- cgit v1.2.3