<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cant' access REST service from external in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Cant-access-REST-service-from-external/m-p/2304169#M143818</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005700000036lIsAAI"&gt;@iburtally&lt;/A&gt;&amp;nbsp;thanks for your response.&amp;nbsp;Please excuse my lack of knowledges with the platform, i'm pretty new to it.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried to call my service directly by the endpoint shown in the service locator from the TAC. So locally I called http://localhpost:8765/myService, which worked. From my external machine, I call&amp;nbsp;&lt;SPAN&gt;http://mymachinename:8765/myService, which does not work.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;By reading your response, what I understand is that I since my service is registerd in service locator, I should be able to call service locator directly which would redirect to the correct endpoint of my service. Like I said , I'm pretty new with Talend, so I take take a look at this service locator thing.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;First, I found that under configuration menu, service locator is configured on localhost:2181 whith no authentication. When i try to acces this url however, nothing happens. I'm not sure what this configuration really mean.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I also found out that service locator seems to listen by default on localhost:8040. This url show me list of registerd service. This url is not reacheable from the outside neither, which&amp;nbsp;makes me think that my the whole service locator can't be reched from the outside.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I made some tests&amp;nbsp;in my talend development studio&amp;nbsp;to change the restpoint of my tRestRequest directly to&amp;nbsp;http://mymachinename:8765/myService (wich makes it not acessible on my dev machine). I was able to hit the service from other machines of my network.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;With the information I gave you, what do you think I should check next to go on on reaching my services from my nettwork ?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;thanks again for your comprehension&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2018 15:31:45 GMT</pubDate>
    <dc:creator>nboisvert</dc:creator>
    <dc:date>2018-01-18T15:31:45Z</dc:date>
    <item>
      <title>Cant' access REST service from external</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cant-access-REST-service-from-external/m-p/2304167#M143816</link>
      <description>&lt;P&gt;I built a REST service in a Talend Job using TRestRequest component. I deployed it on my TAC via ESB Conductor, service is registered in service locator and I can call it locally on the machine where it is deployed (both TAC ans ESB Server are on the same machine). Service is configured to listen on &lt;A href="http://localhost:8765/myservice" target="_blank"&gt;http://localhost:8765/myservice&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is, I can't call the service from another machine on my network. I call it by replacing localhost by my machine name (also tried with ip). I also have opened port 8765 on my windows firewall. Still can't reach my service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something ?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cant-access-REST-service-from-external/m-p/2304167#M143816</guid>
      <dc:creator>nboisvert</dc:creator>
      <dc:date>2024-11-16T08:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cant' access REST service from external</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cant-access-REST-service-from-external/m-p/2304168#M143817</link>
      <description>&lt;P&gt;How are you calling the service from other machine from the client?&amp;nbsp; Is the client calling the service doing so through service locator?&amp;nbsp; Service locator will lookup the end point and hand it out to your client.&amp;nbsp; This means as part of the initial call, your client should be able to deal with service locator looking up the end point and giving it back to the client, and then the actual call happens on the end point returned by service locator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 14:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cant-access-REST-service-from-external/m-p/2304168#M143817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-18T14:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cant' access REST service from external</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cant-access-REST-service-from-external/m-p/2304169#M143818</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005700000036lIsAAI"&gt;@iburtally&lt;/A&gt;&amp;nbsp;thanks for your response.&amp;nbsp;Please excuse my lack of knowledges with the platform, i'm pretty new to it.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried to call my service directly by the endpoint shown in the service locator from the TAC. So locally I called http://localhpost:8765/myService, which worked. From my external machine, I call&amp;nbsp;&lt;SPAN&gt;http://mymachinename:8765/myService, which does not work.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;By reading your response, what I understand is that I since my service is registerd in service locator, I should be able to call service locator directly which would redirect to the correct endpoint of my service. Like I said , I'm pretty new with Talend, so I take take a look at this service locator thing.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;First, I found that under configuration menu, service locator is configured on localhost:2181 whith no authentication. When i try to acces this url however, nothing happens. I'm not sure what this configuration really mean.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I also found out that service locator seems to listen by default on localhost:8040. This url show me list of registerd service. This url is not reacheable from the outside neither, which&amp;nbsp;makes me think that my the whole service locator can't be reched from the outside.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I made some tests&amp;nbsp;in my talend development studio&amp;nbsp;to change the restpoint of my tRestRequest directly to&amp;nbsp;http://mymachinename:8765/myService (wich makes it not acessible on my dev machine). I was able to hit the service from other machines of my network.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;With the information I gave you, what do you think I should check next to go on on reaching my services from my nettwork ?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;thanks again for your comprehension&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 15:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cant-access-REST-service-from-external/m-p/2304169#M143818</guid>
      <dc:creator>nboisvert</dc:creator>
      <dc:date>2018-01-18T15:31:45Z</dc:date>
    </item>
  </channel>
</rss>

