fix error: remove port from hostname