Why is wordpress forcing https link generation?

Found the problem: on a mamp environment with ssl activated, on installation wordpress setted the database url options with https in front. Just changed theme to http on the remote server. On the local mamp enviroment I had also to restart the server without ssl.