Question
Connect to external IP address
Hi everyone, for some reason my node.js app is not able to connect to an IP address after I deployed it to digital ocean. My app is supposed to connect to physical alarm systems via IP/Port to get the system status (armed/disarmed).
UFW is currently inactive. My app is working locally. Is there something I need to configure in order to get it to connect from the digital ocean servers?
const client = new ElkClient({
connection: {
host: "IP/DNS ADDRESS",
secure: true/false,
port: PORT,
site: "SITENAME"
}
})
console.log(client)
client.connect().catch((err)=> console.log("Connection Error"))
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×