support generating links with localhost as hostname, also two apps running at the same time no longer bother each other when updating parameters