diff --git a/client/src/helpers/helpers.js b/client/src/helpers/helpers.js index 0fd5baea..c9c270c3 100644 --- a/client/src/helpers/helpers.js +++ b/client/src/helpers/helpers.js @@ -140,7 +140,7 @@ export const getWebAddress = (ip, port = '') => { let address = `http://${ip}`; if (port) { - if (ip.includes(':') && !isStandardWebPort) { + if (ip.includes(':') && !ip.includes('[') && !isStandardWebPort) { address = `http://[${ip}]:${port}`; } else if (!isStandardWebPort) { address = `http://${ip}:${port}`;