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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -