Return back to port based multitenancy and remove SSL

I setup SSL and I want to go back to port based multitenancy.

after i setup ssl to go back to port based, I enabled port based mutitenancy and assigned the ports to installed ERPNext sites but it doesnt work and when try to go back to SSL the page doesnt display and get a message “ERR_TOO_MANY_REDIRECTS”