allow using ports other than :80

Autoreload didn't work when serving from ports other than 80 - this fixes it