Hi Sagar,

API Manager runs on 192.168.144.2 and this IP is shown in Store UI. If you
want to hit the backend directly from your client, then there isn't any
reason for using API Manager. I don't understand why you are expecting to
hit backend URL directly. API Manager function as a proxy to route the
request to the backend which runs on 192.168.11.65.

There can be many reasons not receiving a response, this might help you on
this [1]. Also, You can try using cURL.

[1]:
http://blog.lakmali.com/2014/11/troubleshooting-issues-with-swagger-in.html

On Wed, Aug 2, 2017 at 5:15 PM, Sagar Kapadia <ks197...@gmail.com> wrote:

> Hi Thuistha,
> Thanks for your quick response. I had followed the tutorial below. My
> problem is my pc has ip 192.168.11.68 and not 192.168.144.2.
> when I try to call the api from the api store page via it's swagger
> definition ,there is a call to my server but, i get no response from the
> server. I believe the reason is that the implementation url of the api
> points to an invalid ip (192.168.144.2), instead of the ip i specified in
> production and sandbox url.
> This is my confusion.
> Sagar
>
> On Aug 2, 2017 4:24 PM, "Thusitha Thilina Dayaratne" <thusit...@wso2.com>
> wrote:
>
>> Hi Sagar,
>>
>> 192.168.144.2 is the IP address of your APIM running instance and 8280 is
>> the port which exposes your API through the API manager. When you invoke
>> the http://192.168.144.2:8280/<context>/<api>/<resource> it will be sent
>> to the production endpoint that you configured through the UI.
>>
>> You can refer to APIM Docs[1] for more details
>>
>> [1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API
>>
>> Thanks
>>
>>
>>
>> On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia <ks197...@gmail.com> wrote:
>>
>>>
>>>
>>> On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia <ks197...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>> I tried to create an API in the API manager. Everything is ok, except
>>>> for the fact that the end point ip anddress and port in the implementation
>>>> page are ignored. I get the following ip address and port
>>>> 192.168.144.2:8280
>>>>
>>>> The screen shots show the issue
>>>> Sagar
>>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809 <+94%2071%20275%206809>
>> Blog      alokayasoya.blogspot.com
>> About    http://about.me/thusithathilina
>> <http://wso2.com/signature>
>>
>>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820

<http://stackoverflow.com/users/515034>
<http://lk.linkedin.com/in/abimaran>  <http://www.lkabimaran.blogspot.com/>
<https://github.com/abimarank>  <https://twitter.com/abimaran>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to