summaryrefslogtreecommitdiffhomepage
path: root/tools/grpc/nodejs/get_neighbors.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/grpc/nodejs/get_neighbors.js')
-rw-r--r--tools/grpc/nodejs/get_neighbors.js2
1 files changed, 1 insertions, 1 deletions
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) {