Hi guys, wondering if anyone can help me.
I’ve just upgraded to a new gaming spec laptop with i9 Processor from previously an Acer Aspire 3 with only an i3. I have a standalone program written using LiveCode and Node.js app which is a server application. The user logs into the LiveCode app inputing a username and password which gets sent to the Node.js server app which checks the user is in the database and then if correct, logs the user in and sends back a bunch of data.
I haven’t changed any of the code in either app while switching from my old laptop to my new top spec one. I run my Node.js app in VSC using the npm devStart command which returns “starting node app.js” in the terminal as normal. The listen line in my app is:
server.listen(process.env.CON_PORT || 3000);
So it’s listening on port 3000 for testing.
The client app code sends the data to “localhost:3000/” then the correct endpoint on the Node.js server app that will execute the code to validate the user’s details.
My Node app worked perfectly in VSC when developing and testing on localhost on my last laptop, however on this new laptop the client LiveCode app always returns the error “tsneterr: (56) Recv failure: Connection was reset”.
I’ve tried EVERYTHING! I’ve disabled my firewalls. I’ve restarted the laptop. I’ve enabled permissions on both apps to bypass the firewalls. I’ve changed the port numbers to a different port. I’ve pinged localhost on Command Prompt and it returns perfect. I’ve changed the keyword “localhost” to 127.0.0.1 on the client code. Still the same 56 error message which I’ve been made aware is either to do with incorrect ports or firewall blocks.
Please does anyone have any advice or further knowledge on what else it could be? Thank you so much.