don’t use port in production and staging environment for websocket url