educative.io

Your app is not responding on the desired port

Hello,

I’m getting the following on Output: Your app is not responding on the desired port.

It isn’t clear how the command ‘config.hosts << “ed-6246432316588032.educative.run”’ works. I just get a heredoc> prompt. What goes there? Am I editing my /etc/hosts file? If so, what is the port?

Thanks,
Jeff


Course: Modern CSS with Tailwind - Learn Interactively
Lesson: Quick Start - Modern CSS with Tailwind

Hi @Jeff_Matthews,
Thank you for indicating this error. Recently, Educative has updated the URLs for the playgrounds, and this course uses the older versions of the URLs in configurations. I have forwarded this issue to the team and they will resolve it for other courses as well.

However, for now, you can update the config/environments/development.rb file. In this file, find config.hosts and update it with the following

config.hosts << /[a-z0-9._-]+\.educative\.run/

This will resolve the issue and the output will be visible. If you have any other queries, feel free to discuss.
Thanks!