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

393
Vistas
Ruby On Rails | Blocked Host: localhost

I've been stuck on this issue for literally hours just trying to find the answer to this.

I start with the Mac Terminal $ rails s and it loads puma & works fine until I run into the problem attached in the picture below.

enter image description here

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Are you running on a Ruby on Rails version that was released on the afternoon of 2021-12-14 – like 6.0.4.2, 6.1.4.2, and 7.0.0.rc2?

Then you should just update to the versions released later in the night because those versions had a bug in their default configuration

There was a bug in the default configuration of the previous release such that requests in development with a port number wouldn’t be considered “authorized” requests. Requests to “localhost:3000” should work in this new version.

Updating Ruby on Rails to any of these versions 6.0.4.3, 6.1.4.3, and 7.0.0.rc3 should fix the bug.


Update: There was another bug in versions 6.0.4.3 and 6.1.4.3 regarding requests to 127.0.0.1:3000 and custom hosts. Therefore you need to update to Rails 6.0.4.4 or 6.1.4.4 which were released on 2021-12-15 to finally fix this issue.

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