blob: e210d57a1e6f9ff26fee4c5f8a518207d38db267 [file] [log] [blame]
<div class="wiki-content maincontent"><p>TCP based transport protocols (including SSL) allow you to define the local address and local port for Socket to use when it's created.<br clear="none"> This can be useful for clients that reside on multi-homed machines or for clients operating in a DMZ, where only pre-defined ports can be used.</p><p>To specify the local address and local port, ActiveMQ supports the use of the path on the URI, e.g.</p><structured-macro ac:macro-id="f096e582-9220-4ce7-a139-7ba5c7b744d4" ac:name="code" ac:schema-version="1"><plain-text-body>ssl://localhost:5666/localhost:60606
</plain-text-body></structured-macro><p>&#160;</p><p>where the path following the forward slash "localhost:60606" defines the local address and local port</p></div>