Remove port number from websocket location