<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Arun!<br>
    <br>
    I think I've seen somewhere that this port is not exposed to the
    outside world. I'm sorry, but I can't find exact link right now... <br>
    <br>
    However it should be easy to verify it by running:<br>
    <i>"<font color="#006600">telnet javaee7-milestogo.rhcloud.com 9990</font></i>"<br>
    <br>
    According to this thread:
<a class="moz-txt-link-freetext" href="https://www.openshift.com/forums/openshift/jboss-as7-management-in-openshift">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 "
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <font color="#006600"><i>rhc port-forward app</i></font>"<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>"ssh -L 9990:localhost:9990
        &lt;login&gt;@javaee7-milestogo.rhcloud.com"</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<br>
    Sebastian<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 09/25/2014 02:39 AM, Arun Gupta
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGBoHQW8KzCE82Z31-7SZe1qT6vuaza6_3m9Mhzwr_2_Jcnk=w@mail.gmail.com"
      type="cite">
      <pre wrap="">Forwarding to a broader alias in case somebody can help.


---------- Forwarded message ----------
From: Arun Gupta <a class="moz-txt-link-rfc2396E" href="mailto:arun.gupta@gmail.com">&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 class="moz-txt-link-rfc2396E" href="mailto:fjuma@redhat.com">&lt;fjuma@redhat.com&gt;</a>, Brian Stansberry
<a class="moz-txt-link-rfc2396E" href="mailto:brian.stansberry@redhat.com">&lt;brian.stansberry@redhat.com&gt;</a>, Aslak Knutsen <a class="moz-txt-link-rfc2396E" href="mailto:aslak@4fs.no">&lt;aslak@4fs.no&gt;</a>, Grant
Shipley <a class="moz-txt-link-rfc2396E" href="mailto:gshipley@redhat.com">&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

javaee7-milestogo.rhcloud.com
127.7.102.129
${env.OPENSHIFT_WILDFLY_IP}

in arquillian.xml but keep getting:

JBAS012144: Could not connect to
http-remoting://javaee7-milestogo.rhcloud.com:9990. The connection
timed out

127.7.102.129:8080 is timing out as well.

Hostname to IP address mapping is giving: 107.21.74.39. Tried that and
didn't work.

Here is my arquillian.xml:

&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
&lt;arquillian xmlns=<a class="moz-txt-link-rfc2396E" href="http://jboss.org/schema/arquillian">"http://jboss.org/schema/arquillian"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
xsi:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://jboss.org/schema/arquillianhttp://jboss.org/schema/arquillian/arquillian_1_0.xsd">"http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd"</a>&gt;
&lt;container qualifier="arquillian-wildfly-managed" /&gt;
&lt;container qualifier="arquillian-wildfly-remote"&gt;
&lt;configuration&gt;
&lt;!-- &lt;property name="managementAddress"&gt;127.7.102.129&lt;/property&gt; --&gt;
&lt;!-- &lt;property name="managementAddress"&gt;javaee7-milestogo.rhcloud.com&lt;/property&gt;
--&gt;
&lt;property name="managementAddress"&gt;107.21.74.39&lt;/property&gt;
&lt;property name="managementPort"&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 class="moz-txt-link-freetext" href="http://blog.arungupta.me">http://blog.arungupta.me</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/arungupta">http://twitter.com/arungupta</a>


</pre>
    </blockquote>
    <br>
  </body>
</html>