Link to home
Start Free TrialLog in
Avatar of tmelo49
tmelo49

asked on

TCP Socket listening but does not send ACK+SYN

Hello,

I have a server that we are running several QA tests on. One test involves a java client that connects to a java server (all on the same machine). If I do a netstat , I can see that the Java server is running and listening on port 30041. When i kick off the test, I can see the client attempt a connection to the server's socket. The client socket sits there in the SYN SENT state but never appears to receive an ACK+SYN from the server socket. The client process eventually gives up and dies. Does anyone have any suggestions on how to troubleshoot this problem on a Linux box? The firewall and SELinux are turned off. What logs should I be looking at? I tried running TCPDUMP but that did not provide me with any useful info. Any help would be appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Trilotech
Trilotech

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tmelo49
tmelo49

ASKER

Here is the tricky part that i forgot to mention, this particular server is actually a virtual OS through VMWare, but only has 1 IP and the DNS record appears fine (reverse lookup too). Even though it is a virtual OS, it functions as a completely independent OS. I really dont think the fact that it is a virtual OS is the cause of the problem. All other server/client processes talk just fine.
Is it totally self contained in VMWare? Or is it an IP address that is accessible from the rest of your LAN?

If it is self contained and all other functions are working related to DNS and other networking services, then I would think the problem would be within the software. Perhaps a configuration error?

Check the documentation and perhaps contact the software developer.
Avatar of tmelo49

ASKER

It is an IP that is accessible from the rest of the network.
Avatar of tmelo49

ASKER

I figured out the problem......incorrect hosts file entry for localhost .
Avatar of tmelo49

ASKER

Thanks Trilotech. You put me on the right path.
No problem. Glad you got it!