Error connecting to Apache Tomcat instance.Please check that a Tomcat server is running at given location and port

#1

Dears we have up and running two windows/IIS servers with Lucee 5.3.1.102 on a load balancer. Suddenly we get this error: " Error connecting to Apache Tomcat instance.Please check that a Tomcat server is running at given location and port.
Details:
No connection could be made because the target machine actively refused it 127.0.0.1:8009
You can change this message by changing TomcatConnectErrorURL setting in setting file."
First on one server and after 1o minutes on the other server.
Any help will be appreciated

#2

Alexandros:
an active refusal means that the tomcat instance is running but not accepting AJP connections.

Are both Tomcat servers running when you see this error?
What happens when you access them individually by directly logging in to them?

If everything looks look please see whether you can get a little more info:
Windows version?
Lucee version?
Tomcat ?
How installed?
Connector version?
What load balance mechanism are you using?

Best,
Bilal

#3

Dear Bilal thank for your response.
The problem is appearing as far as we know from user inputs in both servers but it happens occasionally. That’s the main problem. We can’t isolate it. We are in Lucee 5.3.1.102 on Windows server 2016, Servlet Container Apache Tomcat/8.5.35, BonCode Apache Tomcat AJP 1.3 Connector
We use the native windows server load balancer