Skip to main content

All Questions

Tagged with
0 votes
0 answers
37 views

Is there a way to keep my program alive if the server it needs to connect to is not up and listening yet?

So I've been trying to figure out how to keep my program alive if this separate server that I'm running is not open yet. Right now my program's site pulls up successfully but then the second I try to ...
Nash Carroll's user avatar
0 votes
0 answers
27 views

Getting "Jest did not exit one second after the test run has completed" error for test script which was originally passing

I'm getting Jest did not exit one second after the test run has completed. error in my test scripts which were working before I added the port settings to app.js which were in www before. Now I can't ...
Piyara's user avatar
  • 1
2 votes
0 answers
41 views

Cant conect to Firebase API from React Native

I'm doing a full stack application with React Native and Node Express with a Firebase Firestore database. Everything is almost done; when I try per separate, everything works. For example, the API ...
r3mus99's user avatar
  • 21
0 votes
0 answers
35 views

How to capture a dynamic port before a websocket connection closes from "connect ECONNREFUSED 127.0.0.1:3003"

I'm new to the concept of websocket connections and unsure how to approach this problem where the connection closes with an e.reason connect ECONNREFUSED 127.0.0.1:3003. I can only assume there is a ...
simply.vivian's user avatar
0 votes
0 answers
50 views

Why doesn't SharedWorker expose exactly 1 port per client?

Docs for the SharedWorker connect event Docs for the ports property itself Here's example code which takes a client connection and references a port; this code runs as a SharedWorker (e.g. worker.js): ...
Gershom Maes's user avatar
  • 7,887
0 votes
1 answer
66 views

Django-React integration Django port does not actualize

I made changes to the src/app.js when I use npm start inside the react_app, in port 3000 changes and gets rendered but when I do that using python manage.py runserver I only see the default react-app ...
MrJonesBones's user avatar
0 votes
0 answers
28 views

How to open a port on unbuntu to other computers hosted through a Node.js program

I made a program that uses port 312 to transfer data using http but the port seems to only be open to the computer itself I used ufw allow 312/tcp to enable the port When I tested the command with ...
MrShoe's user avatar
  • 27
1 vote
1 answer
43 views

Error Connecting Frontend and Backend on Different Ports with Flask

Description: I've been working on a project that involves a frontend and a backend component, both running on different ports. However, I'm encountering an error when trying to connect them. ...
Paris Vanuya's user avatar
-2 votes
2 answers
254 views

While executing an express application it crashed [duplicate]

node .\\index.js node:events:490 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE: address already in use :::3000 at Server.setupListenHandle \[as \_listen2\] (node:net:1774:16) at ...
Rushikesh's user avatar
0 votes
1 answer
285 views

NodeJS Script - Can't connect to Websocket

I am attempting to create a websocket on my webserver. I would like to connect to the websocket from my client to update information on the website.. However, when I try connecting, I get the ...
user avatar
1 vote
1 answer
170 views

Can Chrome or Firefox open a network port and serve connections using javascript?

For a mostly offline browser game I'm researching the possibility to run a WebRTC signalling server from a browser. I can imagine that security-wise it's a big no-no to open a port and serve ...
svenema's user avatar
  • 2,270
0 votes
0 answers
44 views

NodeJS Server Adress 80 already in use ERROR --> Running on debian 10 cloud server with apache2

I have an issue I can't resolve for a while now. If anyone has a clue, or could help me via TeamViewer, i'll pay reward of 100$. I need this working Monday. So. I have a webserver set up on 46.231.206....
Roger Schneiter's user avatar
1 vote
1 answer
1k views

Starting inspector on localhost:9229 failed: address already in use

I'm running a node server using "http.createServer", running on port 3001, when I serve the server the first time it runs, and when I do a small change no matter what I get an error said : **...
IndieShlezz's user avatar
0 votes
1 answer
288 views

Do I still use local host once I deploy my react native app?

I am currently building the backend for my react-native app, and I was wondering: I have the app.listen("insert port"). This works fine, but when I want to deploy to lets say, the app store, ...
DevonShire's user avatar
0 votes
0 answers
239 views

Why my server js doesn't work on port 3000

I'm trying to create a server with express but I have a big problem, the server doesn't run. This is the code of my simple file "server.js" and I follow the standard procedure to create it. ...
Domenico's user avatar

15 30 50 per page
1
2 3 4 5
11