<div dir="ltr">Hi Arun,<div>I think in openshift you need to enable port forwarding in order to have access to the server. By default that isn&#39;t enabled. There is this command : rhc port-forward -a &lt;name_of_application&gt;</div><div>Read more about it in the following link:<a href="https://www.openshift.com/blogs/getting-started-with-port-forwarding-on-openshift">https://www.openshift.com/blogs/getting-started-with-port-forwarding-on-openshift</a></div><div><br></div><div>regards</div><div>\n\b</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 25, 2014 at 9:46 AM, Sebastian Ćaskawiec <span dir="ltr">&lt;<a href="mailto:slaskawi@redhat.com" target="_blank">slaskawi@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Arun!<br>
    <br>
    I think I&#39;ve seen somewhere that this port is not exposed to the
    outside world. I&#39;m sorry, but I can&#39;t find exact link right now... <br>
    <br>
    However it should be easy to verify it by running:<br>
    <i>&quot;<font color="#006600">telnet <a href="http://javaee7-milestogo.rhcloud.com" target="_blank">javaee7-milestogo.rhcloud.com</a> 9990</font></i>&quot;<br>
    <br>
    According to this thread:
<a href="https://www.openshift.com/forums/openshift/jboss-as7-management-in-openshift" target="_blank">https://www.openshift.com/forums/openshift/jboss-as7-management-in-openshift</a><br>
    you should be able to forward ports to your local machine using &quot;
    
    
    <font color="#006600"><i>rhc port-forward app</i></font>&quot;<br>
    After that you could use localhost:9990<br>
    <br>
    The other way to solve it is to set up SSH port tunneling like that:<br>
    <font color="#006600"><i>&quot;ssh -L 9990:localhost:9990
        &lt;login&gt;@<a href="http://javaee7-milestogo.rhcloud.com" target="_blank">javaee7-milestogo.rhcloud.com</a>&quot;</i><i><br>
      </i></font>After that try using localhost:9990<br>
    <br>
    Please let us know if any of those 2 solutions worked for you :)<br>
    <br>
    Best regards<span class="HOEnZb"><font color="#888888"><br>
    Sebastian</font></span><div><div class="h5"><br>
    <br>
    <br>
    <div>On 09/25/2014 02:39 AM, Arun Gupta
      wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>Forwarding to a broader alias in case somebody can help.


---------- Forwarded message ----------
From: Arun Gupta <a href="mailto:arun.gupta@gmail.com" target="_blank">&lt;arun.gupta@gmail.com&gt;</a>
Date: Wed, Sep 24, 2014 at 4:50 PM
Subject: Running an Arquillian test with WildFly on OpenShift
To: Farah Juma <a href="mailto:fjuma@redhat.com" target="_blank">&lt;fjuma@redhat.com&gt;</a>, Brian Stansberry
<a href="mailto:brian.stansberry@redhat.com" target="_blank">&lt;brian.stansberry@redhat.com&gt;</a>, Aslak Knutsen <a href="mailto:aslak@4fs.no" target="_blank">&lt;aslak@4fs.no&gt;</a>, Grant
Shipley <a href="mailto:gshipley@redhat.com" target="_blank">&lt;gshipley@redhat.com&gt;</a>


Trying to run a trivial Arquillian test from my local machine against
a WildFly instance hosted on OpenShift. Tried using

<a href="http://javaee7-milestogo.rhcloud.com" target="_blank">javaee7-milestogo.rhcloud.com</a>
127.7.102.129
${env.OPENSHIFT_WILDFLY_IP}

in arquillian.xml but keep getting:

JBAS012144: Could not connect to
http-remoting://<a href="http://javaee7-milestogo.rhcloud.com:9990" target="_blank">javaee7-milestogo.rhcloud.com:9990</a>. The connection
timed out

<a href="http://127.7.102.129:8080" target="_blank">127.7.102.129:8080</a> is timing out as well.

Hostname to IP address mapping is giving: 107.21.74.39. Tried that and
didn&#39;t work.

Here is my arquillian.xml:

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;
&lt;arquillian xmlns=<a href="http://jboss.org/schema/arquillian" target="_blank">&quot;http://jboss.org/schema/arquillian&quot;</a>
xmlns:xsi=<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</a>
xsi:schemaLocation=<a href="http://jboss.org/schema/arquillianhttp://jboss.org/schema/arquillian/arquillian_1_0.xsd" target="_blank">&quot;http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd&quot;</a>&gt;
&lt;container qualifier=&quot;arquillian-wildfly-managed&quot; /&gt;
&lt;container qualifier=&quot;arquillian-wildfly-remote&quot;&gt;
&lt;configuration&gt;
&lt;!-- &lt;property name=&quot;managementAddress&quot;&gt;127.7.102.129&lt;/property&gt; --&gt;
&lt;!-- &lt;property name=&quot;managementAddress&quot;&gt;<a href="http://javaee7-milestogo.rhcloud.com" target="_blank">javaee7-milestogo.rhcloud.com</a>&lt;/property&gt;
--&gt;
&lt;property name=&quot;managementAddress&quot;&gt;107.21.74.39&lt;/property&gt;
&lt;property name=&quot;managementPort&quot;&gt;9990&lt;/property&gt;
&lt;/configuration&gt;
&lt;/container&gt;
&lt;/arquillian&gt;

I can run the test fine against a local WildFly instance.

Any suggestions ?

Arun

--
<a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a>
<a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a>


</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>\n\m<br>&quot;camel is a horse made up in a laboratory&quot;
</div>