<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thank you Mark ;-)<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 04/09/2017 à 11:46, Marc Savy a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAA7j38KBJnXyV382Ex25oqR7hDmD1hddh69k8fSTtWoH_Qg21w@mail.gmail.com">
      <div dir="ltr">Thanks for the clarification, that's helpful. I'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"
              moz-do-not-send="true">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 "it doesn't work", I would say that
                there is no result in the client REST but also, there is
                no error message. I haven'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:part2.A7DB61A8.BEF6CC08@ac-dijon.fr"
                  alt="" class=""></p>
              <p>As you can see, I have got the line <a
                  href="http://127.0.0.1:8080" target="_blank"
                  moz-do-not-send="true">127.0.0.1:8080</a> but I
                haven't got the line <a
                  href="http://169.254.107.101:8080" target="_blank"
                  moz-do-not-send="true">169.254.107.101:8080</a> <br>
              </p>
              <p>I think the problem comes from here but I don't know in
                which file I must specify the IP Address and the port (<a
                  href="http://169.254.107.101:8080" target="_blank"
                  moz-do-not-send="true">169.254.107.101:8080</a>).</p>
              <p>Moreover, I haven't got firewall.</p>
              <p>Do you understand better?</p>
              <p>Thank you in advance for your help.</p>
              <span class="HOEnZb"><font color="#888888">
                  <p>Olivier<br>
                  </p>
                </font></span>
              <div>
                <div class="h5">
                  <p><br>
                  </p>
                  <br>
                  <div class="m_-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 "doesn't work" can
                      you be more specific?  Is the host unreachable or
                      do you receive an error from the Apiman server?
                      <div><br>
                      </div>
                      <div>I'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'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" moz-do-not-send="true">https://help.ubuntu.com/<wbr>stable/ubuntu-help/net-<wbr>firewall-on-off.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" moz-do-not-send="true">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_-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_-1983999077136267017m_-591946005312271990moz-txt-link-freetext" href="http://localhost:8080/apiman-gateway/" target="_blank" moz-do-not-send="true">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_-1983999077136267017m_-591946005312271990moz-txt-link-freetext" href="http://172.56.56.123:8080/apiman-gateway/" target="_blank" moz-do-not-send="true">http://172.56.56.123:8080/apim<wbr>an-gateway/</a>{organizationId}/{<wbr>API ID}/{API version}/

it doesn'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_-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:part10.58550909.7F962B56@ac-dijon.fr"
                                                class=""></td>
                                            <td><img checked=""
                                                style="width:5px;height:145px"
                                                alt=""
                                                src="cid:part11.810CF9D4.3831020A@ac-dijon.fr"
                                                class=""></td>
                                            <td checked=""
                                              style="vertical-align:top"><span><br>
                                              </span><span>Olivier
                                                ROZIER</span><br>
                                              <small
                                                id="m_-1983999077136267017m_-591946005312271990Body">Équipe
                                                nationale de
                                                développement et
                                                intégration
                                                d'applications<br>
                                                Direction des Systèmes
                                                d'Information<br>
                                                DSI<br>
                                                <br>
                                              </small> <small
                                                id="m_-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_-1983999077136267017m_-591946005312271990moz-txt-link-abbreviated"
href="http://www.ac-dijon.fr" target="_blank" moz-do-not-send="true">www.ac-dijon.fr</a>
                                              </small></td>
                                          </tr>
                                        </tbody>
                                      </table>
                                      <span><br>
                                      </span><span>Pensez à
                                        l'environnement avant d'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" moz-do-not-send="true">Apiman-user@lists.jboss.org</a><br>
                          <a
                            href="https://lists.jboss.org/mailman/listinfo/apiman-user"
                            rel="noreferrer" target="_blank"
                            moz-do-not-send="true">https://lists.jboss.org/mailma<wbr>n/listinfo/apiman-user</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                  <div class="m_-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:part10.58550909.7F962B56@ac-dijon.fr"
                                      class=""></td>
                                  <td><img checked=""
                                      style="width:5px;height:145px"
                                      alt=""
                                      src="cid:part11.810CF9D4.3831020A@ac-dijon.fr"
                                      class=""></td>
                                  <td checked=""
                                    style="vertical-align:top"><span><br>
                                    </span><span>Olivier ROZIER</span><br>
                                    <small
                                      id="m_-1983999077136267017Body">Équipe
                                      nationale de développement et
                                      intégration d'applications<br>
                                      Direction des Systèmes
                                      d'Information<br>
                                      DSI<br>
                                      <br>
                                    </small> <small
                                      id="m_-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_-1983999077136267017moz-txt-link-abbreviated"
                                        href="http://www.ac-dijon.fr"
                                        target="_blank"
                                        moz-do-not-send="true">www.ac-dijon.fr</a>
                                    </small></td>
                                </tr>
                              </tbody>
                            </table>
                            <span><br>
                            </span><span>Pensez à l'environnement avant
                              d'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"
              moz-do-not-send="true">Apiman-user@lists.jboss.org</a><br>
            <a
              href="https://lists.jboss.org/mailman/listinfo/apiman-user"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.jboss.org/<wbr>mailman/listinfo/apiman-user</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <title></title>
      <!-- BEGIN BODY OF LIQUID EMAIL -->
      <!--
body {
-webkit-text-size-adjust: none;
  background-color: #ffffff;
  margin:0;
  padding:0;
  color: #777777;
}
-->
      <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="true"
                        style="width: 78px; height:80px;" alt=""
                        src="cid:part10.58550909.7F962B56@ac-dijon.fr"></td>
                    <td><img checked="true" style="width: 5px; height:
                        145px;" alt=""
                        src="cid:part11.810CF9D4.3831020A@ac-dijon.fr"></td>
                    <td checked="true" style="vertical-align:top"><span
                        style="font-size:6px; font-weight: bold;
                        font-family = Arial;"><br>
                      </span><span style="font-size:12px; font-weight:
                        bold; font-family = Arial;">Olivier ROZIER</span><br>
                      <small id="Body" style="font-size:8px;
                        font-weight: bold; font-family = Arial;">Équipe
                        nationale de développement et intégration
                        d'applications<br>
                        Direction des Systèmes d'Information<br>
                        DSI<br>
                        <br>
                      </small> <small id="Body2" style="font-size:12px;
                        font-family = Arial;">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="moz-txt-link-abbreviated" href="http://www.ac-dijon.fr">www.ac-dijon.fr</a> </small></td>
                  </tr>
                </tbody>
              </table>
              <span style="font-size:2px; font-family = Arial;"><br>
              </span><span style="font-size:11px; font-family = Arial;
                font-style: italic; color: rgb(158, 255, 80);">Pensez à
                l'environnement avant d'imprimer ce message</span> </td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
    </div>
  </body>
</html>