<div dir="ltr">That&#39;s for the Servlet version -- perhaps you aren&#39;t using Vert.x?</div><div class="gmail_extra"><br><div class="gmail_quote">On 7 September 2017 at 08:35, Olivier ROZIER <span dir="ltr">&lt;<a href="mailto:orozier@ac-dijon.fr" target="_blank">orozier@ac-dijon.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hi Marc,</p>
    <p>I found the solution! <br>
    </p>
    <p>In fact when you run wildfly via the command <i><br>
      </i></p>
    <p><i>./bin/standalone.sh -c standalone-apiman.xml </i><br>
    </p>
    You must add the argument <i>-b=0.0.0.0<br>
      <br>
    </i>Therefore, instead of execute the command <br>
    <i>./bin/standalone.sh -c standalone-apiman.xml <br>
    </i><br>
    You must run the command :<i><br>
    </i><br>
    <i>./bin/standalone.sh -c standalone-apiman.xml -b=0.0.0.0</i><span class=""><br>
    <br>
    Thank you for your help.<br>
    <br>
    Olivier<br>
    <br>
    </span><span class=""><div class="m_5675145863599612793moz-cite-prefix">Le 05/09/2017 à 14:26, Marc Savy a
      écrit :<br>
    </div>
    </span><div><div class="h5"><blockquote type="cite">
      <div dir="ltr">Hi Olivier,
        <div><br>
        </div>
        <div>Does *hostname* not work for you:</div>
        <div><br>
        </div>
        <div><a href="https://github.com/apiman/apiman/blob/master/distro/vertx/src/main/resources/overlay/configs/conf-es.json#L219" target="_blank">https://github.com/apiman/<wbr>apiman/blob/master/distro/<wbr>vertx/src/main/resources/<wbr>overlay/configs/conf-es.json#<wbr>L219</a><br>
        </div>
        <div><br>
        </div>
        <div>You can also alter the reported endpoint with
          *publicEndpoint*:</div>
        <div><br>
        </div>
        <div><a href="https://github.com/apiman/apiman/blob/master/distro/vertx/src/main/resources/overlay/configs/conf-es.json#L223" target="_blank">https://github.com/apiman/<wbr>apiman/blob/master/distro/<wbr>vertx/src/main/resources/<wbr>overlay/configs/conf-es.json#<wbr>L223</a><br>
        </div>
        <div><br>
        </div>
        <div>It seems to work (on 1.3.1.Final, at least), but please
          verify and let us know.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Marc</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 5 September 2017 at 07:32, Olivier
          ROZIER <span dir="ltr">&lt;<a href="mailto:orozier@ac-dijon.fr" target="_blank">orozier@ac-dijon.fr</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <p>Hello Mark, <br>
              </p>
              <p>I forgot to say you that I use APIMAN 1.3.1.Final
                overlayfor Wildfly 10 and APIMAN 1.3.1.Final Vert.x
                Gateway.</p>
              <p>Thank you for your help.</p>
              <span class="m_5675145863599612793HOEnZb"><font color="#888888">
                  <p>Olivier<br>
                  </p>
                  <br>
                </font></span><span>
                <div class="m_5675145863599612793m_6501864515072057119moz-cite-prefix">Le
                  04/09/2017 à 11:46, Marc Savy a écrit :<br>
                </div>
              </span>
              <div>
                <div class="m_5675145863599612793h5">
                  <blockquote type="cite">
                    <div dir="ltr">Thanks for the clarification, that&#39;s
                      helpful. I&#39;ll look into it and get back to you
                      shortly.
                      <div><br>
                      </div>
                      <div>Regards,</div>
                      <div>Marc</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On 4 September 2017 at
                        09:47, Olivier ROZIER <span dir="ltr">&lt;<a href="mailto:orozier@ac-dijon.fr" target="_blank">orozier@ac-dijon.fr</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div text="#000000" bgcolor="#FFFFFF">
                            <p>Hello Eric,</p>
                            <p>Thank you for your answer.</p>
                            <p>In fact, when I say &quot;it doesn&#39;t work&quot;, I
                              would say that there is no result in the
                              client REST but also, there is no error
                              message. I haven&#39;t got response in fact...</p>
                            <p>When I execute the command <i>netstat
                                -ltanu</i>, I have this result :<br>
                            </p>
                            <p><img src="cid:part5.06BBCC0B.81FC2A86@ac-dijon.fr" alt=""></p>
                            <p>As you can see, I have got the line <a href="http://127.0.0.1:8080" target="_blank">127.0.0.1:8080</a>
                              but I haven&#39;t got the line <a href="http://169.254.107.101:8080" target="_blank">169.254.107.101:8080</a>
                              <br>
                            </p>
                            <p>I think the problem comes from here but I
                              don&#39;t know in which file I must specify
                              the IP Address and the port (<a href="http://169.254.107.101:8080" target="_blank">169.254.107.101:8080</a>).</p>
                            <p>Moreover, I haven&#39;t got firewall.</p>
                            <p>Do you understand better?</p>
                            <p>Thank you in advance for your help.</p>
                            <span class="m_5675145863599612793m_6501864515072057119HOEnZb"><font color="#888888">
                                <p>Olivier<br>
                                </p>
                              </font></span>
                            <div>
                              <div class="m_5675145863599612793m_6501864515072057119h5">
                                <p><br>
                                </p>
                                <br>
                                <div class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017moz-cite-prefix">Le
                                  01/09/2017 à 17:56, Eric Wittmann a
                                  écrit :<br>
                                </div>
                                <blockquote type="cite">
                                  <div dir="ltr">When you say it
                                    &quot;doesn&#39;t work&quot; can you be more
                                    specific?  Is the host unreachable
                                    or do you receive an error from the
                                    Apiman server?
                                    <div><br>
                                    </div>
                                    <div>I&#39;ll assume that the host is
                                      simply unreachable and answer
                                      that. :)</div>
                                    <div><br>
                                    </div>
                                    <div>Marc will need to confirm, but
                                      I believe the vert.x server
                                      automatically binds to 0.0.0.0
                                      when it starts up, so I don&#39;t
                                      think you should need to configure
                                      anything to bind to a specific
                                      network host.</div>
                                    <div><br>
                                    </div>
                                    <div>The only other thing I can
                                      think of is that your Ubuntu
                                      system has a firewall enabled and
                                      that you need to open port 8080 on
                                      that firewall so that external TCP
                                      requests can be made.</div>
                                    <div><br>
                                    </div>
                                    <div><a href="https://help.ubuntu.com/stable/ubuntu-help/net-firewall-on-off.html" target="_blank">https://help.ubuntu.com/stable<wbr>/ubuntu-help/net-firewall-on-o<wbr>ff.html</a><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>-Eric</div>
                                  </div>
                                  <div class="gmail_extra"><br>
                                    <div class="gmail_quote">On Fri, Sep
                                      1, 2017 at 10:39 AM, Olivier
                                      ROZIER <span dir="ltr">&lt;<a href="mailto:orozier@ac-dijon.fr" target="_blank">orozier@ac-dijon.fr</a>&gt;</span>
                                      wrote:<br>
                                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                        <div text="#000000" bgcolor="#FFFFFF">
                                          <p>Hello,</p>
                                          <p>I would like to know how to
                                            change the first part of the
                                            gateway endpoint.</p>
                                          <p>In fact, the endpoint takes
                                            this form : <br>
                                          </p>
                                          <pre class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990screen">http://gatewayhostname:port/ap<wbr>iman-gateway/{organizationId}/<wbr>{API ID}/{API version}/

When I try to access to this endpoint from a REST client on local host with this URL :  
<a class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990moz-txt-link-freetext" href="http://localhost:8080/apiman-gateway/" target="_blank">http://localhost:8080/apiman-g<wbr>ateway/</a>{organizationId}/{API ID}/{API version}/

it works fine.

But when I try to access to this endpoint from a remote host with the IP address of the host where APIMAN and the gateway are installed like this :  
<a class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990moz-txt-link-freetext" href="http://172.56.56.123:8080/apiman-gateway/" target="_blank">http://172.56.56.123:8080/apim<wbr>an-gateway/</a>{organizationId}/{A<wbr>PI ID}/{API version}/

it doesn&#39;t work.

APIMAN and the gateway (vert.x) are installed on the same ubuntu (ssh is activated).

Please, could you say me what file I can configure.

Thank you in advance.

Best regards. 
</pre>
                                          <div class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990moz-signature">--
                                            <br>
                                            <table style="width:430px" cellspacing="0" cellpadding="0" border="0">
                                              <tbody>
                                                <tr>
                                                  <td>
                                                    <table cellspacing="10" cellpadding="0" border="0">
                                                      <tbody>
                                                        <tr>
                                                          <td style="vertical-align:top"><img checked style="width:78px;height:80px" alt="" src="cid:part13.D35F0302.16CCE7A7@ac-dijon.fr"></td>
                                                          <td><img checked style="width:5px;height:145px" alt="" src="cid:part14.BF29452A.A38B46B1@ac-dijon.fr"></td>
                                                          <td checked style="vertical-align:top"><span><br>
                                                          </span><span>Olivier
                                                          ROZIER</span><br>
                                                          <small id="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990Body">Équipe
                                                          nationale de
                                                          développement
                                                          et intégration
                                                          d&#39;applications<br>
                                                          Direction des
                                                          Systèmes
                                                          d&#39;Information<br>
                                                          DSI<br>
                                                          <br>
                                                          </small> <small id="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990Body2">Rectorat
                                                          de Dijon<br>
                                                          2G rue du
                                                          Général
                                                          Delaborde -
                                                          21000 Dijon<br>
                                                          <br>
                                                          LD : 03 80 44
                                                          88 78 - Fax :
                                                          03 80 44 88 10<br>
                                                          <a class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017m_-591946005312271990moz-txt-link-abbreviated" href="http://www.ac-dijon.fr" target="_blank">www.ac-dijon.fr</a>
                                                          </small></td>
                                                        </tr>
                                                      </tbody>
                                                    </table>
                                                    <span><br>
                                                    </span><span>Pensez
                                                      à l&#39;environnement
                                                      avant d&#39;imprimer
                                                      ce message</span>
                                                  </td>
                                                </tr>
                                              </tbody>
                                            </table>
                                            <br>
                                            <br>
                                          </div>
                                        </div>
                                        <br>
                                        ______________________________<wbr>_________________<br>
                                        Apiman-user mailing list<br>
                                        <a href="mailto:Apiman-user@lists.jboss.org" target="_blank">Apiman-user@lists.jboss.org</a><br>
                                        <a href="https://lists.jboss.org/mailman/listinfo/apiman-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/apiman-user</a><br>
                                        <br>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                </blockquote>
                                <br>
                                <div class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017moz-signature">--
                                  <br>
                                  <table style="width:430px" cellspacing="0" cellpadding="0" border="0">
                                    <tbody>
                                      <tr>
                                        <td>
                                          <table cellspacing="10" cellpadding="0" border="0">
                                            <tbody>
                                              <tr>
                                                <td style="vertical-align:top"><img checked style="width:78px;height:80px" alt="" src="cid:part13.D35F0302.16CCE7A7@ac-dijon.fr"></td>
                                                <td><img checked style="width:5px;height:145px" alt="" src="cid:part14.BF29452A.A38B46B1@ac-dijon.fr"></td>
                                                <td checked style="vertical-align:top"><span><br>
                                                  </span><span>Olivier
                                                    ROZIER</span><br>
                                                  <small id="m_5675145863599612793m_6501864515072057119m_-1983999077136267017Body">Équipe
                                                    nationale de
                                                    développement et
                                                    intégration
                                                    d&#39;applications<br>
                                                    Direction des
                                                    Systèmes
                                                    d&#39;Information<br>
                                                    DSI<br>
                                                    <br>
                                                  </small> <small id="m_5675145863599612793m_6501864515072057119m_-1983999077136267017Body2">Rectorat
                                                    de Dijon<br>
                                                    2G rue du Général
                                                    Delaborde - 21000
                                                    Dijon<br>
                                                    <br>
                                                    LD : 03 80 44 88 78
                                                    - Fax : 03 80 44 88
                                                    10<br>
                                                    <a class="m_5675145863599612793m_6501864515072057119m_-1983999077136267017moz-txt-link-abbreviated" href="http://www.ac-dijon.fr" target="_blank">www.ac-dijon.fr</a>
                                                  </small></td>
                                              </tr>
                                            </tbody>
                                          </table>
                                          <span><br>
                                          </span><span>Pensez à
                                            l&#39;environnement avant
                                            d&#39;imprimer ce message</span>
                                        </td>
                                      </tr>
                                    </tbody>
                                  </table>
                                  <br>
                                  <br>
                                </div>
                              </div>
                            </div>
                          </div>
                          <br>
                          ______________________________<wbr>_________________<br>
                          Apiman-user mailing list<br>
                          <a href="mailto:Apiman-user@lists.jboss.org" target="_blank">Apiman-user@lists.jboss.org</a><br>
                          <a href="https://lists.jboss.org/mailman/listinfo/apiman-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/apiman-user</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                  <div class="m_5675145863599612793m_6501864515072057119moz-signature">-- <br>
                    <table style="width:430px" cellspacing="0" cellpadding="0" border="0">
                      <tbody>
                        <tr>
                          <td>
                            <table cellspacing="10" cellpadding="0" border="0">
                              <tbody>
                                <tr>
                                  <td style="vertical-align:top"><img checked style="width:78px;height:80px" alt="" src="cid:part13.D35F0302.16CCE7A7@ac-dijon.fr"></td>
                                  <td><img checked style="width:5px;height:145px" alt="" src="cid:part14.BF29452A.A38B46B1@ac-dijon.fr"></td>
                                  <td checked style="vertical-align:top"><span><br>
                                    </span><span>Olivier ROZIER</span><br>
                                    <small id="m_5675145863599612793m_6501864515072057119Body">Équipe
                                      nationale de développement et
                                      intégration d&#39;applications<br>
                                      Direction des Systèmes
                                      d&#39;Information<br>
                                      DSI<br>
                                      <br>
                                    </small> <small id="m_5675145863599612793m_6501864515072057119Body2">Rectorat
                                      de Dijon<br>
                                      2G rue du Général Delaborde -
                                      21000 Dijon<br>
                                      <br>
                                      LD : 03 80 44 88 78 - Fax : 03 80
                                      44 88 10<br>
                                      <a class="m_5675145863599612793m_6501864515072057119moz-txt-link-abbreviated" href="http://www.ac-dijon.fr" target="_blank">www.ac-dijon.fr</a>
                                    </small></td>
                                </tr>
                              </tbody>
                            </table>
                            <span><br>
                            </span><span>Pensez à l&#39;environnement avant
                              d&#39;imprimer ce message</span> </td>
                        </tr>
                      </tbody>
                    </table>
                    <br>
                    <br>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <div class="m_5675145863599612793moz-signature">-- <br>
      
      
      
      
      <table style="width:430px" cellspacing="0" cellpadding="0" border="0">
        <tbody>
          <tr>
            <td>
              <table cellspacing="10" cellpadding="0" border="0">
                <tbody>
                  <tr>
                    <td style="vertical-align:top"><img checked style="width:78px;height:80px" alt="" src="cid:part13.D35F0302.16CCE7A7@ac-dijon.fr"></td>
                    <td><img checked style="width:5px;height:145px" alt="" src="cid:part14.BF29452A.A38B46B1@ac-dijon.fr"></td>
                    <td checked style="vertical-align:top"><span><br>
                      </span><span>Olivier ROZIER</span><br>
                      <small id="m_5675145863599612793Body">Équipe
                        nationale de développement et intégration
                        d&#39;applications<br>
                        Direction des Systèmes d&#39;Information<br>
                        DSI<br>
                        <br>
                      </small> <small id="m_5675145863599612793Body2">Rectorat de Dijon<br>
                        2G rue du Général Delaborde - 21000 Dijon<br>
                        <br>
                        LD : 03 80 44 88 78 - Fax : 03 80 44 88 10<br>
                        <a class="m_5675145863599612793moz-txt-link-abbreviated" href="http://www.ac-dijon.fr" target="_blank">www.ac-dijon.fr</a> </small></td>
                  </tr>
                </tbody>
              </table>
              <span><br>
              </span><span>Pensez à
                l&#39;environnement avant d&#39;imprimer ce message</span> </td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
    </div>
  </div></div></div>

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