Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

163
Views
Express app not working on local network without internet

I have an express app with which I want other computers in the same WIFI Network to connect to it but without the internet being available.

The main PC which is hosting the app has the following fixed IP: 192.168.1.60

And I have done the following code in my server.js

app.listen(5000, '192.168.1.60' () => {
  console.log(`Server launched with port 5000`);
});

So whenever I try to access the app from another machine, it does not load unless I have internet.

Is there a way to make it work without the internet?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

app.get('/', (req, res) => {
  res.send('Hello User!')
})
app.listen(5000, () => {
  console.log(`Server launched with port ${port}`)
})

Make sure you enter following URL http://192.168.1.60:5000 in your browser

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!