<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>slm_sock: getaddrinfo() error: EAI_SYSTEM with SLM example on Thingy:91</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108715/slm_sock-getaddrinfo-error-eai_system-with-slm-example-on-thingy-91</link><description>Hi everyone, 
 I&amp;#39;m currently conducting tests on the SLM application with Thingy 91. I attempted to open a socket using an AT command and subsequently connect to a TCP server running on my local PC. However, I encountered an error: 
 
 
 
 Can you please</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Mar 2024 11:00:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108715/slm_sock-getaddrinfo-error-eai_system-with-slm-example-on-thingy-91" /><item><title>RE: slm_sock: getaddrinfo() error: EAI_SYSTEM with SLM example on Thingy:91</title><link>https://devzone.nordicsemi.com/thread/472434?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2024 11:00:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eea2f06-2c7e-470f-9b0a-0ee2efe9e9be</guid><dc:creator>Milad_</dc:creator><description>&lt;p&gt;hey &lt;a href="https://devzone.nordicsemi.com/members/dejans"&gt;dejans&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks, yes I tried with public servers and it works correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards,&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: slm_sock: getaddrinfo() error: EAI_SYSTEM with SLM example on Thingy:91</title><link>https://devzone.nordicsemi.com/thread/471680?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 06:39:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3e5573d-409f-4645-8d92-50dfa0b27be5</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You could try to change IP address (and possibly port as well) of your server to the public one.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: slm_sock: getaddrinfo() error: EAI_SYSTEM with SLM example on Thingy:91</title><link>https://devzone.nordicsemi.com/thread/471475?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 08:44:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09fe9743-8b93-4570-9fba-f8c731b0d52b</guid><dc:creator>Milad_</dc:creator><description>&lt;p&gt;hey &lt;a href="https://devzone.nordicsemi.com/members/dejans"&gt;dejans,&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m following the test scenarios of SLM example and here is the list of what I used in serial terminal :&amp;nbsp;&lt;/p&gt;
&lt;pre class="highlight literal-block"&gt;&lt;strong&gt;AT#XSOCKET=?&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre class="highlight literal-block"&gt;&lt;strong&gt;AT#XSOCKET=1,1,0&lt;br /&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre class="highlight literal-block"&gt;&lt;strong&gt;AT#XSOCKET?&lt;/strong&gt;&lt;/pre&gt;
&lt;pre class="highlight literal-block"&gt;&lt;strong&gt;AT#XSOCKETOPT=1,20,30&lt;/strong&gt;&lt;/pre&gt;
&lt;pre class="highlight literal-block"&gt;&lt;strong&gt;AT#XCONNECT=&amp;quot;&lt;/strong&gt;&lt;i&gt;192.168.56.1&lt;/i&gt;&lt;strong&gt;&amp;quot;,&lt;/strong&gt;&lt;em&gt;1234   just this one gives an error.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;&lt;/pre&gt;
&lt;pre class="highlight literal-block"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre class="highlight literal-block"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre class="highlight literal-block"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: slm_sock: getaddrinfo() error: EAI_SYSTEM with SLM example on Thingy:91</title><link>https://devzone.nordicsemi.com/thread/471368?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 14:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ead3870-574c-4873-88ab-c716e97c4cfa</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you provide a full list of AT commands that you used?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>