Solved

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

Posted on 2004-09-26
2
526 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 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

14 Experts available now in Live!

Get 1:1 Help Now