- you need amqp server (localhost or cloud-based) to connect to different channels.
ON
const connection = await connect('amqp://localhost');
CHANGE
'amqp://localhost'
TO
'amqp://**AMQP_URI**'
ON
var factory = new ConnectionFactory { HostName = "localhost" };
CHANGE
HostName = "localhost"
TO
Uri = new Uri("amqps://**AMQP_URI**") };
