DEV Community

pycxu
pycxu

Posted on

NATS & Nodejs: connection issues

NATS & Nodejs: connection issues

0

Hi I have issues connecting NATS with nodejs.

I was trying to do the "Basic Usage" from nats.js github guide.

But it doesnt seem to work:

I was trying to run this;

const NATS = require('nats')
const nc = NATS.connect()

// Simple Publisher
nc.publish('foo', 'Hello World!')

// Simple Subscriber
nc.subscribe('foo',
…

Top comments (0)