<?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: change application domain from localhost in Vuforia Studio</title>
    <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/change-application-domain-from-localhost/m-p/805132#M11059</link>
    <description>&lt;P&gt;Seems that by default Vuforia Studio only listens on localhost / 127.0.0.1 interface.&lt;/P&gt;
&lt;P&gt;The behaviour is defined in 'AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\dist\server\index.js' file on line 128&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var listenInterface = args.listen || process.env.LISTEN_ON || 'localhost';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you can just add a 'LISTEN_ON' environment variable (preferred) or overwrite the variable in the .js file (it will probably be overwritten on the next Studio upgrade). Will probably have to restart Studio after setting the vartiable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is probably a third way - adding an argument to the Studio start command, but I never cared to find it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.PNG" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/59610iB458F2E18A9731C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2022 13:56:17 GMT</pubDate>
    <dc:creator>DmitryTsarev</dc:creator>
    <dc:date>2022-07-04T13:56:17Z</dc:date>
    <item>
      <title>change application domain from localhost</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/change-application-domain-from-localhost/m-p/805068#M11058</link>
      <description>&lt;P&gt;Hello, due to CORS policy restrictions I would like to change where vuforia studio is executed in the browser from "localhost:3000" to "user.companydomain.local:3000".&lt;/P&gt;&lt;P&gt;how to do that?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 07:33:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/change-application-domain-from-localhost/m-p/805068#M11058</guid>
      <dc:creator>GianVal</dc:creator>
      <dc:date>2022-07-04T07:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: change application domain from localhost</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/change-application-domain-from-localhost/m-p/805132#M11059</link>
      <description>&lt;P&gt;Seems that by default Vuforia Studio only listens on localhost / 127.0.0.1 interface.&lt;/P&gt;
&lt;P&gt;The behaviour is defined in 'AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\dist\server\index.js' file on line 128&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var listenInterface = args.listen || process.env.LISTEN_ON || 'localhost';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you can just add a 'LISTEN_ON' environment variable (preferred) or overwrite the variable in the .js file (it will probably be overwritten on the next Studio upgrade). Will probably have to restart Studio after setting the vartiable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is probably a third way - adding an argument to the Studio start command, but I never cared to find it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.PNG" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/59610iB458F2E18A9731C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 13:56:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/change-application-domain-from-localhost/m-p/805132#M11059</guid>
      <dc:creator>DmitryTsarev</dc:creator>
      <dc:date>2022-07-04T13:56:17Z</dc:date>
    </item>
  </channel>
</rss>

