<?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>Reopening TCP server on the same port, TCP proxy (Serial LTE modem)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120609/reopening-tcp-server-on-the-same-port-tcp-proxy-serial-lte-modem</link><description>Dear Nordic company, 
 
 I am writting to you in order to discuse some trouble with TCP server that I am trying run on Serial LTE modem application. 
 
 I am able to create TCP server (after entering APN usign AT+CGDCONT command, AT+CEREG=5 and AT+CFUN</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Apr 2025 07:49:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120609/reopening-tcp-server-on-the-same-port-tcp-proxy-serial-lte-modem" /><item><title>RE: Reopening TCP server on the same port, TCP proxy (Serial LTE modem)</title><link>https://devzone.nordicsemi.com/thread/532519?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2025 07:49:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3761ce85-b458-49eb-b8bc-6b5eacefea2d</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;my apologies for the delayed answer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please elaborate more on&lt;strong&gt;&amp;nbsp;&lt;code&gt;#XTCPSVR CLIENT 1: 0,&amp;quot;started&amp;quot;&lt;/code&gt;&lt;/strong&gt; as this is not these messages in our SLM?&lt;/p&gt;
&lt;p&gt;Reaching our to our developers they provided the following suggestion:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;Can they try to start and stop the connection when there are no incoming clients? And then the case that there are incoming clients and they close the connections with AT#&lt;a title="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/serial_lte_modem/doc/tcpudp_at_commands.html#tcp_hang_up_xtcphangup" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/serial_lte_modem/doc/TCPUDP_AT_commands.html#tcp_hang_up_xtcphangup" rel="noopener noreferrer" target="_blank"&gt;XTCPHANGUP&lt;/a&gt;?&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reopening TCP server on the same port, TCP proxy (Serial LTE modem)</title><link>https://devzone.nordicsemi.com/thread/531350?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 12:05:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:151f1e8a-5b9a-4b1f-b6f6-83f92c3eb9a6</guid><dc:creator>Jaroslav Havel</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt; AT+CGDCONT=1,IP,iot.1nce.net

OK
&amp;gt; AT+CEREG=5

OK
&amp;gt; AT+CFUN=1

OK

+CEREG: 2,&amp;quot;0655&amp;quot;,&amp;quot;081EAD01&amp;quot;,7

+CEREG: 5,&amp;quot;0655&amp;quot;,&amp;quot;081EAD01&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;
&amp;gt; AT#XTCPSVR=1,6500

#XTCPSVR CLIENT 1: 0,&amp;quot;started&amp;quot;

#XTCPSVR CLIENT 2: 0,&amp;quot;started&amp;quot;

#XTCPSVR CLIENT 3: 0,&amp;quot;started&amp;quot;

#XTCPSVR CLIENT 4: 0,&amp;quot;started&amp;quot;

#XTCPSVR CLIENT 5: 0,&amp;quot;started&amp;quot;

#XTCPSVR CLIENT 6: 0,&amp;quot;started&amp;quot;

#XTCPSVR CLIENT 7: 0,&amp;quot;started&amp;quot;

#XTCPSVR CLIENT 8: 0,&amp;quot;started&amp;quot;

#XTCPSVR CLIENT 9: 0,&amp;quot;started&amp;quot;

#XTCPSVR CLIENT 10: 0,&amp;quot;started&amp;quot;

OK
&amp;gt; AT#XTCPSVR=0,6500

OK
&amp;gt; AT#XTCPSVR=1,6500

 NEDAŘ&amp;#205; SE POSLOUCHAT 

#XTCPSVR se nepodarilo spustit

ERROR&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; *** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
00&amp;gt; *** Using Zephyr OS v3.6.99-100befc70c74 ***
00&amp;gt; [00:00:00.256,042] &amp;lt;inf&amp;gt; at_cmd_custom: Custom AT commands enabled with 79 entries.
00&amp;gt; [00:00:00.262,145] &amp;lt;inf&amp;gt; fs_nvs: 2 Sectors of 4096 bytes
00&amp;gt; [00:00:00.262,176] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.262,176] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; [00:00:00.526,977] &amp;lt;inf&amp;gt; slm: lib_modem init: 0
00&amp;gt; [00:00:00.527,038] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
00&amp;gt; [00:00:00.527,038] &amp;lt;inf&amp;gt; slm: Serial LTE Modem
00&amp;gt; [00:00:00.620,483] &amp;lt;inf&amp;gt; slm_uart_handler: UART baud: 115200 d/p/s-bits: 3/0/1 HWFC: 1
00&amp;gt; [00:00:00.620,605] &amp;lt;inf&amp;gt; slm_at_host: at_host init done
00&amp;gt; [00:02:06.398,498] &amp;lt;err&amp;gt; slm_tcp: listen() failed: -112
00&amp;gt; [00:02:06.404,968] &amp;lt;err&amp;gt; slm_at_host: AT command failed: -22&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Jardoslv Havel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reopening TCP server on the same port, TCP proxy (Serial LTE modem)</title><link>https://devzone.nordicsemi.com/thread/531277?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 07:44:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b404b48-f115-4a62-9457-3fd0f33a786f</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello Jaroslav,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to provide more details on which version of the Serial LTE Modem you are using? I.e. nRF Connect SDK version&lt;/p&gt;
&lt;p&gt;Can you also please provide the full application log from startup, showing the steps you are taking?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>