Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

167
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda