Solved

TCP Socket listening but does not send ACK+SYN

Posted on 2006-11-30
7
2,543 Views
Last Modified: 2013-11-29
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
Comment
Question by:tmelo49
  • 4
  • 3
7 Comments
 
LVL 4

Accepted Solution

by:
Trilotech earned 250 total points
ID: 18047560
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
 

Author Comment

by:tmelo49
ID: 18047705
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
 
LVL 4

Expert Comment

by:Trilotech
ID: 18047809
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:tmelo49
ID: 18047834
It is an IP that is accessible from the rest of the network.
0
 

Author Comment

by:tmelo49
ID: 18048488
I figured out the problem......incorrect hosts file entry for localhost .
0
 

Author Comment

by:tmelo49
ID: 18048511
Thanks Trilotech. You put me on the right path.
0
 
LVL 4

Expert Comment

by:Trilotech
ID: 18048524
No problem. Glad you got it!
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now