When I'm starting my rails application now I'm unable to view the app on localhost:3000
instead I now have to use 127.0.0.1
which theoretically is the same. But I seem to get errors because of it, such as:
Request origin not allowed: http://127.0.0.1:3000
now I ran sudo nano /etc/hosts
to check my hosts and localhost
is set up to be 127.0.0.1
so I'm finding this strange. The localhost just shows a blank page.
Does anybody have experience fixing this issue?