This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Software using Socket Based TCP connection cannot connect to server.

0

Hi,

On my computer other network based software are able to connect to servers and I am able to surf the internet as well on this computer however there is a software that uses socket based tcp connection however upon starting that application it reports "No connection". How can i resolve this. How to resolve/troubleshoot socket based tcp connections issues.

Thanks.

asked 13 Feb '11, 09:22

rseni's gravatar image

rseni
1111
accept rate: 0%


One Answer:

1

You could install Wireshark and take a look at all conversations that get started around the time you start the application that has a problem. Go to Statistics -> Conversations for a list (or simply scroll through the packet list).

If there is a connection that is refused by the server you will see a SYN packet followed by an RST packet - that way you'll know that the server doesn't have any process listening on the TCP port that was accessed. If you don't get anything back on the SYN packet there is most likely a Firewall in between you and the server that blocks the communication.

BTW it helps to know which IP the server has, because then you can filter on all conversations to that IP by using ip.addr==X.X.X.X where X.X.X.X is the server IP.

answered 13 Feb '11, 16:43

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%