Connection timed out: connect

Started by satyam1655, July 30, 2024, 12:13:22 PM

Previous topic - Next topic

satyam1655

Team,

We are using NetXMS version - istnetxmsconsole_v.2.0.7
The NetXMS server and client are running on Linux box.

while staring up the Netxms console getting an error  - "Connection timedout:connect"


Please let me know any port to configure on console.
since the port  4701 is listening on NetXMS server.


Observed few errors in NetXMS server log, can you please check help us to resolve it.

[30-Jul-2024 03:57:25.379] [DEBUG] Thread pool POLLERS initialized (min=10, max=250)
[30-Jul-2024 03:57:28.218] [ERROR] Unable to bind socket to port 162 in function SNMPTrapReceiver: Permission denied
[30-Jul-2024 03:57:28.219] [ERROR] Unable to bind socket to port 162 in function SNMPTrapReceiver: Bad file descriptor
[30-Jul-2024 03:57:28.220] [DEBUG] SNMP trap receiver aborted - cannot bind at least one socket
[30-Jul-2024 03:57:29.796] [DEBUG] Thread pool SCHEDULER initialized (min=1, max=64)
[30-Jul-2024 03:57:29.801] [DEBUG] Beacon poller will not start because beacon host list is empty
[30-Jul-2024 03:57:30.113] [DEBUG] CronCheckThread: started
[30-Jul-2024 03:57:30.114] [DEBUG] LIBDIR: /home3/e3005170/LinuxEnv1/netxms_srv/lib/netxms
[30-Jul-2024 03:57:30.115] [DEBUG] UptimeCalculator thread started
[30-Jul-2024 03:57:30.116] [DEBUG] Server initialization completed
[30-Jul-2024 03:57:30.117] [INFO ] NetXMS Server started
[30-Jul-2024 03:57:30.381] [DEBUG] Starting configuration poll for node maa5rfisistap08 (ID: 108)
[30-Jul-2024 03:57:30.382] [DEBUG] Node is marked as unreachable, configuration poll aborted
[30-Jul-2024 03:57:30.383] [DEBUG] Finished configuration poll for node maa5rfisistap08 (ID: 108)
[30-Jul-2024 03:57:30.430] [INFO ] Listening for client connections on TCP socket 0.0.0.0:4701
[30-Jul-2024 03:57:30.431] [INFO ] Listening for mobile device connections on TCP socket 0.0.0.0:4747
[30-Jul-2024 03:57:30.433] [ERROR] Unable to create socket in function MobileDeviceListenerIPv6
[30-Jul-2024 03:57:30.434] [ERROR] Unable to create socket in function ClientListenerIPv6
[30-Jul-2024 04:00:00.345] [DEBUG] IST clean syslg history called
[30-Jul-2024 04:00:44.742] [ERROR] Thread "Syncer Thread" does not respond to watchdog thread
[30-Jul-2024 04:57:35.497] [DEBUG] Starting configuration poll for node maa5rfisistap08 (ID: 108)
[30-Jul-2024 04:57:35.499] [DEBUG] Node is marked as unreachable, configuration poll aborted
[30-Jul-2024 04:57:35.500] [DEBUG] Finished configuration poll for node maa5rfisistap08 (ID: 108)

Thanks,
Satyam.


keenoar

Hello,

Not sure if I understood your issue correctly, but console connects to the server on port 4701. So you should be able to telnet from computer where you are using the console to the server on port 4701.

Thanks,

satyam1655

getting error while starting up the netxms consose.
1. Can we change the default 4701 port on NetXMS console and NetXMS server. since we have limited ports available.
2. There is a 12 mins delay to startup (to became listen state) on NetXMS server. Can we reduce this.
[01-Aug-2024 07:48:55.921] Log file opened
[01-Aug-2024 07:48:55.921] [DEBUG] Code page set to ASCII
[01-Aug-2024 07:48:55.924] [INFO ] Platform subagent "/home3/e3005170/LinuxEnv1/netxms_srv/lib/netxms/linux.nsm" successfully loaded
[01-Aug-2024 07:48:55.925] [DEBUG] Debug callback set for DB library
[01-Aug-2024 07:48:55.948] [INFO ] Database driver "oracle.ddr" loaded and initialized successfully
---------------
[01-Aug-2024 08:01:07.221] [DEBUG] Finished configuration poll for node maa5rfisistap08 (ID: 108)
[01-Aug-2024 08:01:07.237] [INFO ] Listening for mobile device connections on TCP socket 0.0.0.0:4747
[01-Aug-2024 08:01:07.239] [INFO ] Listening for client connections on TCP socket 0.0.0.0:4701

Regards,
Satyam.

keenoar

Hi,

1. You can change the listening port from the server configuration screen - parameter Client.ListenerPort. To connect from the console to a different port, append the port to the end of the server address (for example 192.168.0.1:4701)
2. looks like you have a big database with lots of alarms, users, DCIs, etc that are loading on startup. check which activity is taking too long, then you can clean it (if you have lots of alarms, terminate them, etc)




satyam1655

#4
Thankyou Keenoar,

1. The NetXMS server is running on Linux , used below command to change the port number on Server.

netxmsd: set veriable SERVER_LISTEN_PORT_FOR_CLIENTS 8969
Configuration variable veriable updated

netxmsd: get SERVER_LISTEN_PORT_FOR_CLIENTS
SERVER_LISTEN_PORT_FOR_CLIENTS = 8969

This is port in listening mode.

2. How to change the port on Console side? since console is not starting up due to port connection issue.

3. where is the  screen is available " server configuration screen - parameter Client.ListenerPort:" , Please let me know.
Need to install any software on the local machine?

Regards,
Satyam.

keenoar

check the image for both server and console configuration:

2024-08-01_163308.png