java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;host()</pre>
<div class="block">Gets the stream application host.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the string host.</dd>
</dl>
</li>
</ul>
<a id="port()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>port</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;port()</pre>
<div class="block">Gets the stream