Solved

Winsock error: "Only one usage of each socket address ..."

Posted on 2004-09-26
2
529 Views
Last Modified: 2008-02-01
Hi all:

I recently moved from Windows XP Home to XP Professional, transferred my data and reinstalled my programs.  Everything was peachy until I reinstalled an SSH tunnelling application I had used with XP Home.  This program basically forms a tunnel between my computer and a remote server and handles requests passed via specific ports (usually 25, 80, 110 and 119).  But ever since trying it on XP Pro the program I use (F-Secure) has been unable to initialize these ports (25, 80, 110 and 119).  (I manage to create a tunnel to 110 and 119 but that's still of limited use.)  The program's listening manager returns the standard WSAEADDRINUSE 10048 error: "Only one usage of each socket address (protocol/IP address/port) is normally permitted".

No, I know none of *my* programs usurp these ports and since I have no viruses, I can only assume programs and/or processes inbuilt in Win XP PRO are responsible.  I know XP Professional uses additional network components but since this is not my area of expertise, I don't know which they are, let alone which may be responsible for hogging these ports.  So, how can I identify applications or processes usurping these ports and, more importantly, shut them down permanently?  Any ideas?

Thanks.

Michael
0
Comment
Question by:lordgovernor
2 Comments
 
LVL 15

Accepted Solution

by:
adamdrayer earned 250 total points
ID: 12156489
you can monitor your open ports with this:
http://www.sysinternals.com/ntw2k/source/tcpview.shtml

or you can also type "netstat" at a command prompt.

ICF or "Windows Firewall" might be responsible for that error message.  Verify that you don't have any software firewalls blocking access to those ports including the built-in one for windows which often turns itself on during an installation.
http://www.practicallynetworked.com/sharing/xp/ic_firewall.htm

If you've tried everything, and are sure there is no program using or blocking that particular TCP port, and still cannot get this to work, you may want to rebuild your winsock.  you can do that here:
http://www.spychecker.com/program/winsockxpfix.html
0
 

Author Comment

by:lordgovernor
ID: 12156775
Hi Adam:

The TCPview identified Internet Information Services as "listening" on my ports and preventing SSH from being established thru them.  (It's precisely what I had suspected: XP Pro has a built-in server.)  I ended up downloading a utility from Microsoft which turned IIS off.  It can be found here: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=DDE9EFC0-BB30-47EB-9A61-FD755D23CDEC

Thanks for your help!

Best regards,
Michael
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
An article on effective troubleshooting
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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