<?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>FreeMASTERのトピックRe: FreeMASTER JSON-RPC Connection Not Successful</title>
    <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-JSON-RPC-Connection-Not-Successful/m-p/1298891#M651</link>
    <description>&lt;P&gt;Dear Arun,&lt;/P&gt;
&lt;P&gt;I'm not sure what can be wrong here. The port 41000 is open as soon as the FreeMASTER desktop application starts. Perhaps it is blocked by a firewall or some other security settings of your computer.&lt;/P&gt;
&lt;P&gt;The easiest way to test if a port is reachable is to use "&lt;STRONG&gt;telnet localhost 41000&lt;/STRONG&gt;" The terminal will appear to be empty, so just type two characters: {}&amp;nbsp; which is a shortest-possible (invalid) JSON-RPC command. You should get an answer:&lt;/P&gt;
&lt;PRE&gt;{"jsonrpc":"2.0","id":"","error":{"code":-32600,"message":"Unknown error"}}&lt;/PRE&gt;
&lt;P&gt;The communication should be also possible to be captured by a Wireshark.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Michal&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jun 2021 06:59:03 GMT</pubDate>
    <dc:creator>MichalH</dc:creator>
    <dc:date>2021-06-28T06:59:03Z</dc:date>
    <item>
      <title>FreeMASTER JSON-RPC Connection Not Successful</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-JSON-RPC-Connection-Not-Successful/m-p/1298604#M650</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am trying to play with FreeMASTER, first I tried with ActiveX and it works fine for me, and now I am trying JSON-RPC, and here I am facing a problem with the initial connection, which means with the following line.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; pcm = new PCM("localhost:41000", on_connected, on_error, on_error);&lt;/LI-CODE&gt;&lt;P&gt;The below screenshot is from the debugging session.&lt;/P&gt;&lt;P&gt;Any idea's what can go wrong.&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;I am using FreeMASTER 3.1.2 (the latest version as of now), and while checking this my FreeMASTER&amp;nbsp; Desktop application is open and running.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 22:39:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-JSON-RPC-Connection-Not-Successful/m-p/1298604#M650</guid>
      <dc:creator>arun07</dc:creator>
      <dc:date>2021-06-25T22:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: FreeMASTER JSON-RPC Connection Not Successful</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-JSON-RPC-Connection-Not-Successful/m-p/1298891#M651</link>
      <description>&lt;P&gt;Dear Arun,&lt;/P&gt;
&lt;P&gt;I'm not sure what can be wrong here. The port 41000 is open as soon as the FreeMASTER desktop application starts. Perhaps it is blocked by a firewall or some other security settings of your computer.&lt;/P&gt;
&lt;P&gt;The easiest way to test if a port is reachable is to use "&lt;STRONG&gt;telnet localhost 41000&lt;/STRONG&gt;" The terminal will appear to be empty, so just type two characters: {}&amp;nbsp; which is a shortest-possible (invalid) JSON-RPC command. You should get an answer:&lt;/P&gt;
&lt;PRE&gt;{"jsonrpc":"2.0","id":"","error":{"code":-32600,"message":"Unknown error"}}&lt;/PRE&gt;
&lt;P&gt;The communication should be also possible to be captured by a Wireshark.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Michal&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 06:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-JSON-RPC-Connection-Not-Successful/m-p/1298891#M651</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2021-06-28T06:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: FreeMASTER JSON-RPC Connection Not Successful</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-JSON-RPC-Connection-Not-Successful/m-p/1298985#M654</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34487"&gt;@MichalH&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. Yes, you are right, it looks like that the port is blocked.&lt;/P&gt;&lt;P&gt;I checked the same thing on my personal laptop and it works fine, so this is the problem with my office laptop. Can I do something else to make it work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 08:48:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-JSON-RPC-Connection-Not-Successful/m-p/1298985#M654</guid>
      <dc:creator>arun07</dc:creator>
      <dc:date>2021-06-28T08:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: FreeMASTER JSON-RPC Connection Not Successful</title>
      <link>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-JSON-RPC-Connection-Not-Successful/m-p/1299157#M655</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Arun,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I think you will need to talk to your IT administrator to add an exception to a firewall settings. You can also change a TCP port by using a command line argument &lt;STRONG&gt;/rpcs N&amp;nbsp;&lt;/STRONG&gt;when launching the FreeMASTER executable (pcmaster.exe). The default N is 41000, but it may be changed this way.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Michal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 14:46:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/FreeMASTER-JSON-RPC-Connection-Not-Successful/m-p/1299157#M655</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2021-06-28T14:46:52Z</dc:date>
    </item>
  </channel>
</rss>

