<div>Hi,</div>
<div> </div>
<div>I am using omniorb4 on a linux platform and am trying to have my orb listen for connection from hostname c1apicas1 to port 8101.</div>
<div> </div>
<div>This is my code.</div>
<div><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2">
<p>int32 orb_params_count = 0;</p>
<p></p></font></font></font><font face="Consolas" color="#008080" size="2"><font face="Consolas" color="#008080" size="2"><font face="Consolas" color="#008080" size="2">char</font></font></font><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"> **orb_params = 0;</font></font></font>
<p><font face="Consolas" color="#008080" size="2"><font face="Consolas" color="#008080" size="2"><font face="Consolas" color="#008080" size="2">const</font></font></font><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"> </font></font></font><font face="Consolas" color="#008080" size="2"><font face="Consolas" color="#008080" size="2"><font face="Consolas" color="#008080" size="2">char</font></font></font><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2">* options[][2] = { { </font></font></font><font face="Consolas" color="#a31515" size="2"><font face="Consolas" color="#a31515" size="2"><font face="Consolas" color="#a31515" size="2">"endPoint"</font></font></font><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2">, </font></font></font><font face="Consolas" color="#a31515" size="2"><font face="Consolas" color="#a31515" size="2"><font face="Consolas" color="#a31515" size="2">"giop:tcp:c1apicas1:8101"</font></font></font><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"> } };</font></font></font></p>
<p><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2">m_orb = CORBA::ORB_init(orb_params_count, orb_params, </font></font></font><font face="Consolas" color="#a31515" size="2"><font face="Consolas" color="#a31515" size="2"><font face="Consolas" color="#a31515" size="2">"omniORB4"</font></font></font><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2"><font face="Consolas" color="#000080" size="2">, options);</font></font></font></p>
</div>
<div>I get the following error message.</div>
<div>omniORB: Error: Unable to create an endpoint of this description: giop:tcp:c1apicas1:8101</div>
<div> </div>
<div>When I do not provide the endPoint or any options, and the hostname is my hostname, the connection is established correctly.<br><br>What can the problem be?</div>
<div> </div>
<div>Thanks,</div>
<div>Pearl Rothman <br></div>