diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp
index 72e041219496cc161ee72c2baeed4fdb423257fd..1b9aef193ccc188bcb68f2e61cc39b71d6cee461 100644
--- a/indra/newview/llvoicevivox.cpp
+++ b/indra/newview/llvoicevivox.cpp
@@ -967,7 +967,7 @@ bool LLVivoxVoiceClient::startAndLaunchDaemon()
                 // to increment instance_offset on EADDRINUSE.
                 // But for now just use rand
                 static U32 instance_offset = portrange * ll_rand(20);
-                port = portbase + portoffset + portrange;
+                port = portbase + portoffset + instance_offset;
             }
             else
             {