Question : Cannot connect to database errors

Hi,

Have noticed a lot of connection errors between our windows box (1box runs apache, 2nd box runs Mysql)  Both servers are on the same subnet and ports are open.  Am able to connect via telnet between servers on port 80 and 3306 (which are in use) without an issue but intermittently I get "Cannot connect Connection refused by host"  A ping test show no packet lost but latency that's not normal .   Is this a hardware related issue with the network card or port on the switch?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=3ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=15ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=14ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=14ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=14ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=14ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=15ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time<1ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=2ms TTL=128
Reply from 203.57.0.XX: bytes=32 time=2ms TTL=128

Ping statistics for 203.57.0.XX:
    Packets: Sent = 149, Received = 149, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 15ms, Average = 1ms
Control-C

Answer : Cannot connect to database errors

If you have a time stamp for one of the connection refuse errors, I would look in the system and application event logs to see if there is a corresponding event around that same timeframe that my indicate the reason for the refusal.   Of course, if it is not actually causing any issues, I may be tempted to chalk it up to normal operations.
Random Solutions  
 
programming4us programming4us