Windows 7 error

maddawg

Member
Dec 18, 2005
74
0
0
I get this error intermittently when using my home computer:


Windows socket error: only one usage of each socket address (protocol/network address/port) is normally permitted (10048), on API "bind"


Any help to resolve is much appreciated....
 

Ketchup

Elite Member
Sep 1, 2002
14,559
248
106
Interesting that you are running out of ports. You can either wait for the timeout, or make more ports available:

You can go to the registry and increase the range to 65534
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort

or you could reduce TIME_WAIT from the 4-minute default:
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\TCPTimedWaitDelay

One thing I will add is that if you are not doing anything on your computer that you feel should be using the extra ports, a Virus/Malware scan might be a good idea here.
 

Bubbaleone

Golden Member
Nov 20, 2011
1,803
4
76
Along with the other good suggestions in this thread, have you tried rebuilding the TCP/IP stack yet? I've found that winsock errors are usually the result of the TCP/IP stack being corrupt. Here's the procedure:

1. Open a command prompt by clicking Start and then type cmd in the Search programs and files box.

2. Under Programs, right-click the CMD.exe icon, and then click Run as administrator.

3. When the User Account Control box appears, click Yes.

4. At the command prompt, enter the following command, and then press Enter:

netsh int ip reset C:\resetlog.txt


As this command re-writes some registry entries, it's always best to reboot once you've closed the command prompt.

.