<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">https://github.com/apiman/apiman/blob/master/distro/vertx/src/main/resources/overlay/configs/conf-es.json#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">https://github.com/apiman/apiman/blob/master/distro/vertx/src/main/resources/overlay/configs/conf-es.json#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"><<a href="mailto:orozier@ac-dijon.fr" target="_blank">orozier@ac-dijon.fr</a>></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="HOEnZb"><font color="#888888">
<p>Olivier<br>
</p>
<br></font></span><span class="">
<div class="m_6501864515072057119moz-cite-prefix">Le 04/09/2017 à 11:46, Marc Savy a
écrit :<br>
</div>
</span><div><div class="h5"><blockquote type="cite">
<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"><<a href="mailto:orozier@ac-dijon.fr" target="_blank">orozier@ac-dijon.fr</a>></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.5DB279CA.9FA5BC78@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'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'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't got firewall.</p>
<p>Do you understand better?</p>
<p>Thank you in advance for your help.</p>
<span class="m_6501864515072057119HOEnZb"><font color="#888888">
<p>Olivier<br>
</p>
</font></span>
<div>
<div class="m_6501864515072057119h5">
<p><br>
</p>
<br>
<div class="m_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 "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">https://help.ubuntu.com/stable<wbr>/ubuntu-help/net-firewall-on-<wbr>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"><<a href="mailto:orozier@ac-dijon.fr" target="_blank">orozier@ac-dijon.fr</a>></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_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_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_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'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_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:part10.6ED8EA99.D7763EB9@ac-dijon.fr"></td>
<td><img checked style="width:5px;height:145px" alt="" src="cid:part11.DB60D01B.064B30F0@ac-dijon.fr"></td>
<td checked style="vertical-align:top"><span><br>
</span><span>Olivier
ROZIER</span><br>
<small id="m_6501864515072057119m_-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_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_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'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">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_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:part10.6ED8EA99.D7763EB9@ac-dijon.fr"></td>
<td><img checked style="width:5px;height:145px" alt="" src="cid:part11.DB60D01B.064B30F0@ac-dijon.fr"></td>
<td checked style="vertical-align:top"><span><br>
</span><span>Olivier ROZIER</span><br>
<small id="m_6501864515072057119m_-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_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_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'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" 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_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:part10.6ED8EA99.D7763EB9@ac-dijon.fr"></td>
<td><img checked style="width:5px;height:145px" alt="" src="cid:part11.DB60D01B.064B30F0@ac-dijon.fr"></td>
<td checked style="vertical-align:top"><span><br>
</span><span>Olivier ROZIER</span><br>
<small id="m_6501864515072057119Body">É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_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_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'environnement avant d'imprimer ce message</span> </td>
</tr>
</tbody>
</table>
<br>
<br>
</div>
</div></div></div>
</blockquote></div><br></div>