What happens when we move to https protocol here ?
Maybe a relative protocol (//localhost ... ) can be a better choice.