Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 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

10 Experts available now in Live!

Get 1:1 Help Now