fix(preview): open local environment ports on localhost (#7300)