[Apiman-user] How to change base url of the gateway endpoint
Olivier ROZIER
orozier at ac-dijon.fr
Mon Sep 4 04:47:09 EDT 2017
Hello Eric,
Thank you for your answer.
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...
When I execute the command /netstat -ltanu/, I have this result :
As you can see, I have got the line 127.0.0.1:8080 but I haven't got the
line 169.254.107.101:8080
I think the problem comes from here but I don't know in which file I
must specify the IP Address and the port (169.254.107.101:8080).
Moreover, I haven't got firewall.
Do you understand better?
Thank you in advance for your help.
Olivier
Le 01/09/2017 à 17:56, Eric Wittmann a écrit :
> 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?
>
> I'll assume that the host is simply unreachable and answer that. :)
>
> 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.
>
> 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.
>
> https://help.ubuntu.com/stable/ubuntu-help/net-firewall-on-off.html
>
> -Eric
>
> On Fri, Sep 1, 2017 at 10:39 AM, Olivier ROZIER <orozier at ac-dijon.fr
> <mailto:orozier at ac-dijon.fr>> wrote:
>
> Hello,
>
> I would like to know how to change the first part of the gateway
> endpoint.
>
> In fact, the endpoint takes this form :
>
> http://gatewayhostname:port/apiman-gateway/{organizationId}/{API ID}/{API version}/
>
> When I try to access to this endpoint from a REST client on local host with this URL :
> http://localhost:8080/apiman-gateway/
> <http://localhost:8080/apiman-gateway/>{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 :
> http://172.56.56.123:8080/apiman-gateway/
> <http://172.56.56.123:8080/apiman-gateway/>{organizationId}/{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.
>
> --
>
> Olivier ROZIER
> Équipe nationale de développement et intégration d'applications
> Direction des Systèmes d'Information
> DSI
>
> Rectorat de Dijon
> 2G rue du Général Delaborde - 21000 Dijon
>
> LD : 03 80 44 88 78 - Fax : 03 80 44 88 10
> www.ac-dijon.fr <http://www.ac-dijon.fr>
>
>
> Pensez à l'environnement avant d'imprimer ce message
>
>
>
>
> _______________________________________________
> Apiman-user mailing list
> Apiman-user at lists.jboss.org <mailto:Apiman-user at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/apiman-user
> <https://lists.jboss.org/mailman/listinfo/apiman-user>
>
>
--
Olivier ROZIER
Équipe nationale de développement et intégration d'applications
Direction des Systèmes d'Information
DSI
Rectorat de Dijon
2G rue du Général Delaborde - 21000 Dijon
LD : 03 80 44 88 78 - Fax : 03 80 44 88 10
www.ac-dijon.fr
Pensez à l'environnement avant d'imprimer ce message
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20170904/8058f559/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pfbjfbihimcikhcb.png
Type: image/png
Size: 207884 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/apiman-user/attachments/20170904/8058f559/attachment-0003.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 7667 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/apiman-user/attachments/20170904/8058f559/attachment-0004.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 248 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/apiman-user/attachments/20170904/8058f559/attachment-0005.png
More information about the Apiman-user
mailing list