<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cannot connect to NetXMS agent (Connect failed)]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have a problem with the netXMS agent, when I try to make a poll request. I get messages...</p>
<p dir="auto">----------------------------------------------<br />
Poll request accepted.......<br />
Starting configuration.....<br />
Checking node's capabilities....</p>
<p dir="auto">     Checking NetXMS agent....<br />
      <strong>Cannot connect to NetXMS agent (Connect failed)</strong><br />
     Checking SNMP....<br />
      SNMP agent is active (version 2c)<br />
      etc<br />
      etc<br />
      OK</p>
<p dir="auto">What else do I need to configure .... Do I need perhaps conf (Agent Conf and Server Conf on web management Console?)</p>
<p dir="auto">Please help ...</p>
<p dir="auto">Thanks, best regards.</p>
]]></description><link>https://forum.netxms.org/topic/7510/cannot-connect-to-netxms-agent-connect-failed</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:25:20 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7510.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Sep 2022 08:36:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot connect to NetXMS agent (Connect failed) on Mon, 12 Sep 2022 13:26:00 GMT]]></title><description><![CDATA[<p dir="auto">When I run this command....</p>
<p dir="auto">__<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<br />
Output:</p>
<p dir="auto">Trying 192.168.x.x ...<br />
Connected to 192.168.x.x<br />
Escape character...<br />
Connection closed by foreing host.<br />
__<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em>_<em>_</em></p>
<p dir="auto">But. when I edit in nxagent.conf and set:<br />
MasterServers=192.168.x.x.<br />
Save and Start again, it automatically returns the IP address 127.0.0.1 in the web  management console.</p>
<p dir="auto">The agent is active when the address is 127.0.0.1. but there is no communication with the nodes, when I change the server address to 192.168.x.x then I get an error. (Cannot connect - Internal error)</p>
<p dir="auto">(agent status: unreachable, return IP address on 127.0.0.1)</p>
<p dir="auto">When I manually set the agent's ip address to 192.168.x.x, the agent is active, but it is set automatically:</p>
<p dir="auto">PrimaryHost Name=127.0.0.1<br />
Primary IP= 192.168.x.x<br />
and I get a message (internal error) - NATIVE AGENT IS NOT RESPONDING</p>
<p dir="auto">----------------------------------------------------------------------------</p>
<p dir="auto">Should I perhaps set up a situation like this:<br />
nxagentd.conf (edit)</p>
<p dir="auto">MasterServers=127.0.0.1/8,192.168.x.x<br />
It is currently:<br />
MasterServers=192.168.x.x</p>
<p dir="auto">I don't know what to do anymore....???</p>
]]></description><link>https://forum.netxms.org/post/31859</link><guid isPermaLink="true">https://forum.netxms.org/post/31859</guid><dc:creator><![CDATA[BHMick]]></dc:creator><pubDate>Mon, 12 Sep 2022 13:26:00 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect to NetXMS agent (Connect failed) on Mon, 12 Sep 2022 11:49:02 GMT]]></title><description><![CDATA[<p dir="auto">try running this in command line of your server:</p>
<pre><code>telnet ip_addess 4700
</code></pre>
<p dir="auto">where ip_address is the address of your agent. <br />
What output would this command produce?</p>
]]></description><link>https://forum.netxms.org/post/31857</link><guid isPermaLink="true">https://forum.netxms.org/post/31857</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 12 Sep 2022 11:49:02 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect to NetXMS agent (Connect failed) on Mon, 12 Sep 2022 10:51:22 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I tried turning off the firewall, same thing again...</p>
]]></description><link>https://forum.netxms.org/post/31855</link><guid isPermaLink="true">https://forum.netxms.org/post/31855</guid><dc:creator><![CDATA[BHMick]]></dc:creator><pubDate>Mon, 12 Sep 2022 10:51:22 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect to NetXMS agent (Connect failed) on Mon, 12 Sep 2022 10:43:41 GMT]]></title><description><![CDATA[<p dir="auto">Hello Filipp,</p>
<p dir="auto">I set everything except the firewall, how do I turn off the firewall, btw (Netxms 4.1.420 on Linux Ubuntu)?</p>
<p dir="auto">Thanks, regards.</p>
]]></description><link>https://forum.netxms.org/post/31854</link><guid isPermaLink="true">https://forum.netxms.org/post/31854</guid><dc:creator><![CDATA[BHMick]]></dc:creator><pubDate>Mon, 12 Sep 2022 10:43:41 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect to NetXMS agent (Connect failed) on Mon, 12 Sep 2022 10:31:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">So here's a few prerequisites for server to connect to the agent:</p>
<ul>
<li>agent process should be running</li>
<li>no firewall should be blocking agent's port (it's TCP port 4700)</li>
<li>In nxagentd.conf configuration file MasterServers parameter should include IP address of your NetXMS server</li>
</ul>
]]></description><link>https://forum.netxms.org/post/31853</link><guid isPermaLink="true">https://forum.netxms.org/post/31853</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 12 Sep 2022 10:31:56 GMT</pubDate></item></channel></rss>