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

221
Vistas
I'm unable to call flask rest API on external machine, though localhost is working fine, How do I excess on external machine?

I recently installed flask application on nginx Ubuntu Linux server, and when I run "flask run -h 0.0.0.0 -p 1234", it is working in localhost:1234/list if I call API but when I try to call from postman or external It is not at all working "enterned command: "flask run -h 11.222.11.222 -p 1234" and throws an error: "OSError: [Errno 99] Cannot assign requested address".

I have also allowed port number i.e. 1234, still, it is not working. Can anyone help me out with how to assign localhost to IP address or domain name so that flask API can work externally.

I'm new to this server setup and deployment.

Thanks in advance.

over 4 years ago · Santiago Trujillo
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