NetXMS Support Forum

English Support => General Support => Topic started by: miramira007 on August 18, 2015, 12:34:10 PM

Poll
Question: Connection to Server (Linux) with the Console on a Windows Client
Option 1: How can i get the connection to the server with the console? votes: 0
Option 2: Which steps i can do to find the problem? votes: 0
Title: Connection to the Server is failed
Post by: miramira007 on August 18, 2015, 12:34:10 PM
Dear netXMS-Users & Team,

i have installed on a linux distrubution (CentOS) the netXMS server with the embedded sqlite database. Then i started the server and the agend like the desciption in the official dokumentation.

Then i installed the netXMS console on a windows client.

But the connection is failed because timeout.

I tryed to ping the server with the cmd --- > checked
looked via ps if the server is running --> checked
i set the default password and name --> checked

I dont know which steps i should have to do to resolve this problem.
Please give me help


would welcome your response,
mira
Title: Re: Connection to the Server is failed
Post by: tomaskir on August 18, 2015, 12:37:05 PM
Is the server in the same subnet as your PC or not?
- its possible a transit firewall is allowing ICMP (ping), but not connection to NetXMS.

Does the server have iptables, or any other firewall?
- again, a firewall may be allowing ICMP (ping), but blocking NetXMS.
Title: Re: Connection to the Server is failed
Post by: miramira007 on August 18, 2015, 04:04:42 PM
Hello,

Thank you, i guess you are right.
I checked my system with firewall-cmd --list-all
and all ports are blocked.
So Im trying to enblock some ports for netxms.

Can somebody tell me, which port is the default port for netxms?

Best regards,
mira
Title: Re: Connection to the Server is failed
Post by: Dani@M3T on August 18, 2015, 04:35:11 PM
Console to server: TCP 4701
Server to agent: TCP 4700
Title: Re: Connection to the Server is failed
Post by: miramira007 on August 18, 2015, 05:00:59 PM
Hey,

now i enblocked the port 4701
(with firewall-cmd --list-all i say this here)
...
ports: 4701/tcp
...

but when i tried to log in with the client to my server
it says: Connection refused: connect

Best regards,
Mira
Title: Re: Connection to the Server is failed
Post by: Victor Kirhenshtein on August 18, 2015, 07:50:18 PM
That usually means that server is not running. Check that netxmsd process is running and listening on port 4701.

Best regards,
Victor
Title: Re: Connection to the Server is failed
Post by: miramira007 on August 20, 2015, 10:17:58 AM
Thank you. i solved this problem.  :) :) :)