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

985
Vistas
React app is showing blank page on localhost:3000 but working on localhost:3001

I downloaded a repo of a react app from github and installed all the necessary dependencies. Then in ran npm start which started the dev server on localhost:3000. While on this port the app is showing a blank page but if I run the dev server on a different port like localhost:3001, it works fine but I need it to run on localhost:3000.

I searched for the solution on google and tried every single solution possible to fix this issue, but nothing is solving it.

How do I make my app work on localhost:3000 rather than other ports?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Remove the explicit PORT argument from your scripts in package.json

looks something like this

"start": "PORT=3001 react-scripts start"

or if there's an env file containing the port Variable?

remove it.

make sure you are not running multiple react apps, that will make your app use another port if the default port is busy.

leme know if it fixies the issue if not .. please link to the repo you are using.

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