Currently I run a number of network tests using netcat that checks for an open port on a remote IP-address, using this syntax:
netcat -v -w 5 -z 107.249.95.5 4488
For some reason, the netcat command above is hanging (although others work fine), but a telnet is showing a valid connection like below:
% telnet 107.249.95.5 4488
Trying 107.249.95.5...
Connected to 107.249.95.5.
Escape character is '^]'.
^]
Normally with my other netcat tests, I see an immediate result like this:
aaaa.XXX.com [102.19.5.62] 22 (ssh) open
aaaa.XXX.com [102.19.5.62] 23 (telnet): Connection timed out
The only thing different/interesting about the 107.249.95.5 address is that it is over a VPN to an MQ server.
Any idea why this network test is failing, even though its obviously connectable over telnet. If it matters, I am running this on a Solaris 10 box.