Error 10048 Only
Contents |
(84)On-Premise SEARCH Knowledgebase How To Fix Error "Only one usage of each socket address (protocol/network address/port) is normally permitted" If error 10048 only one usage of each socket address you see the error, "Only one usage of each socket address
Error 10048 Tftpd32
(protocol/network address/port) is normally permitted" in the logs when a connection is being made, it means that error 10048 in function bind you are exhausting all the available network ports on the machine. By default the OS only has around 4000 ports available that are not reserved by the system.
Error 10048 In Function Bind Address Already In Use
What happens is that when any network connection is closed it goes into a TIME_WAIT state for 240 seconds and cannot be reused until this wait state is over. So as an example, if there are 16 connections per second for 4 minutes (16*4*60=3840), you will exhaust all the ports shortly there after. Now if you have error 10048 origin HAS and the MTA on the same machine, this will get exhausted a lot sooner because in addition to them communicating with each other, which uses 2 ports (one for the MTA and one for HAS), the MTA uses up a lot of ports sending the mail. You can fix this by modifying the below values. 1. One of the ways is to increase the dynamic port range. The max by default is 5000. You can set this up to 65534. HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort is the key to use. 2. The second thing you can do is, once the connection does get into an TIME_WAIT state, you can reduce the time it isin that state. Default is 4 minutes, but you can set this to 30 seconds. HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\TCPTimedWaitDelay is the key to use. After these changes are made the system must be restarted. For more information, please refer to the following Microsoft KB article. https://msdn.microsoft.com/en-us/library/ee377084%28v=bts.70%29.aspx Comments (0) Help Desk Software by KayakoCopyright © 2016 SocketLabs, Inc.Terms of Service | Privacy Po
address/port) is normally permitted .NET Framework > Windows Communication Foundation, Serialization, and Networking Question 1 Sign in to vote I have developped an application that call a WCF service Two ChannelFactory
Error 10048 Origin Fix
opened in try block and they are close in finally block.This operation is carried out
Origin Error 10048 Fifa 15
in a while condition and it's executed 30000 times. while (i<30000){try{OPen ChannelFactory
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and http://stackoverflow.com/questions/12362542/python-server-only-one-usage-of-each-socket-address-is-normally-permitted policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags http://forums.devshed.com/apache-development-15/apache-error-os-10048-usage-socket-address-225079.html Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only error 10048 takes a minute: Sign up Python server “Only one usage of each socket address is normally permitted” up vote 9 down vote favorite 3 I'm trying to create a very basic server in python that listens in on a port, creates a TCP connection when a client tries to connect, receives data, sends something back, then listens again (and repeats the error 10048 only process indefinitely). This is what I have so far: from socket import * serverName = "localhost" serverPort = 4444 BUFFER_SIZE = 1024 s = socket(AF_INET, SOCK_STREAM) s.bind((serverName, serverPort)) s.listen(1) print "Server is ready to receive data..." while 1: newConnection, client = s.accept() msg = newConnection.recv(BUFFER_SIZE) print msg newConnection.send("hello world") newConnection.close() Sometimes this seems to work perfectly well (if I point my browser to "localhost:4444" the server prints out the HTTP GET request and the webpage print the text "hello world"). But I'm getting the following error message sporadically when I try to start the server after closing it in the last few minutes: Traceback (most recent call last): File "path\server.py", line 8, in
Search Username Password Remember Me? Register Lost Password? facebook google twitter rss Free Web Developer Tools Advanced Search Forum System Administration Apache Development Apache error: