ruby on rails - Can't stop localhost:3000 redirecting to https -


my localhost:3000 not open safari saying cannot open page https://localhost:3000 because safari cannot establish secure connection.

this made me realise browser redirecting http https. made sense had added config.force_ssl = true in config/environments file. had added in both development , production environments seems i've removed development. stopped rails server, , restarted it. it's still redirecting. else might coming from? same result in safari , chrome.

clearing browser cache did indeed fix it. i'll leave question in case others have same problem. @ashvin.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -