Changed from 127.0.0.1 to localhost to see if that helps with heroku.