Nodejs Websocket Connect by wss
We hired a vps with Ubuntu and installed nodejs for a chat server, and it will be consumed by external websocket connections from other domains outside this vps. Let’s encrypt certificate installed by CloudPanel on the domain.
How to use WebSocket multiple connection
I’m making a simple app that requires Websocket with JavaScript & NodeJS. I’m using the WS NPM package.
Discovering and Communicating with Devices on the Same WiFi Network using Node.js
I’m working on a project where I need to discover and establish communication between devices connected to the same local WiFi network using Node.js. However, I’m struggling to find relevant documentation or tutorials on how to achieve this. Could someone please guide me on what I need to learn or what libraries I should use for this?
Encrypt and Transfer Files over websocket
I’m developing a service for personal use, where i can exchange public key between 2 clients, and transfer encrypted files. I am new to websocket, so i don’t know what i am doing wrong here so the file isn’t encrypted when received on the other end.
So what i am doing here is:
1- generating private/public rsa key
2- sending it to be stored in websocket server
3- fetch public key by the other party
4- use the public key to encrypt the aes
5- encrypt the file with aes
6- send the file
7- Try to decrypt the aes with the private key => FAILING
“Socket Not Connected” error when Android App is on Wifi
I am using web sockets in my node app and it is using port 8443. I am having issues where users in my app cannot send messages when they switch to Wifi. I am unable to recreate the issue but it keep s happening to some users. Usually I will tell them to turn off WIFI and then messaging starts back working when they switch to their mobile connection. Users who use Android get a message that says “Socket not connected” when they try to send a message. My question is should I be using a different port? Is their wifi blocking port 8443?
How should I be saving data on my nodejs server?
I have a nodejs server that host a websocket server to communicate to 2 clients. One of the clients send “reminders” with a due-date and note. My goal is to hold a record of reminders on the server and maintain an order of sorting based on their due date. (So the soonest will be at the top of the array).