How to deactivate/remove https on localhost project from online

I also had this experience with chrome and firefox, they switch http to https and did not find a way to overcome it, so i used internet explorer in that windows machine.
I don’t think you can have ssl on localhost or an ip address, i guess you know it as you used devfoo.pro. SSL certificate could be generated only for fully qualified domain names.

So, you will need to buy a certificate to have things working, out of the box. Easy and “secure”.
Or you can self sign one for your self, following a tutorial :-). Might be difficult and you will need to accept it in your browser or os.
Or better (at least for me), use this website. It will self sign a certificate for a provided domain.

error code: 523