Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2625
  • Last Modified:

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.
0
tmelo49
Asked:
tmelo49
  • 4
  • 3
1 Solution
 
TrilotechCommented:
Do you have multiple IP Addresses? Perhaps the client software is trying the wrong address (if you are using multiple addresses). This could mean a DNS issue if you are using hostnames.
0
 
tmelo49Author Commented:
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.
0
 
TrilotechCommented:
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.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
tmelo49Author Commented:
It is an IP that is accessible from the rest of the network.
0
 
tmelo49Author Commented:
I figured out the problem......incorrect hosts file entry for localhost .
0
 
tmelo49Author Commented:
Thanks Trilotech. You put me on the right path.
0
 
TrilotechCommented:
No problem. Glad you got it!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now