Skip to content
Advertisement

Tag: ssl

Trying to run express node js as https server but it won’t run

I’m trying to get HTTPS working on express.js for node, and it won’t run. This is my server.js code. When I run it reports no errors but it just get stuck to nothing (I waited 30 minutes to see if it does something and nothing happened). Answer httpServer.listen(8080, ()=>{console.log(‘Server is running’)}); If the server successfully started, it should output “Server

Mosquitto and JavaScript Example not working (Firefox)

I would like to make a Websocket connection with TLS encryption to my mosquitto server. But I do not even get a simple example with the official mosquitto server running. In the network Log I can see these statements: Firefox (Mozilla Firefox for Linux Mint 89.0 (64-bit)) gives the error message Firefox can’t establish a connection to the server at

Advertisement