remove port in localhost request uri