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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -