A request to allocate an ephemeral port number from the global UDP port space has failed due to all such ports being in use

Such a long title of error message, I got this error on the Win Server 2012, The server is running for more than 2 years and suddenly all my apps is hang.

The first things we want to check is what is the UDP Port is currently using there is 2 ways to check it.
1. Is using TCPView
2. Is using Command Prompt (netstat) it.

Open the Command Prompt “netstat -anob -p UDP > 20150414_1521.txt” It will save in this file.

We will see there is alot of list of “Dnscache” which is using PPID 3312

UDP    [::]:49656             *:*                                    3312

Moving forward we want to know what is the PPID 3312.
tasklist /svc /fi “pid eq 3312”

svchost.exe 3312 CryptSvc, Dnscache, LanmanWorkstation,
NlaSvc, WinRM

Based on this article it said to turn off the LLMNR Listener, on the last comment


From what we capture the network traffic we saw that .48 is calling LLMNR destination which is also state in this article:


To fix this issue I use the last article “Disabling LLMNR Causing Slow Network” and it work.



You able to install the apps by using command line. an alternatives apt-get for windows.

#Install Chocolatey this is the best way to install the packages
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))

#Install 7zip
choco install 7zip.install

#Install Notepad++
choco install notepadplusplus

#Install Git Client
choco install sourcetree

#Install Chrome Browser
choco install google-chrome-x64 

#Install Fiddler
choco install fiddler4

#Install Flux
choco install f.lux

Anger Developer

Today I try to trace what happen with the official site, and found this in their source code.

.tap-fuck-you = bad naming

Url: http://www.168kai.com/Lottery/10021168kai.com

Schedule Auto Restart Vidalia

When we run the vidalia tor network and let it run 24/7, it will consume a huge memory.

If we look into below printscreen it took 1.2GB of the RAM. In here we want to make it auto schedule to restart it.
Vidalia Use Huge Memory
Creating PowerShell File

#This is to auto restart the Vidalia
$process = Get-Process vidalia -ErrorAction SilentlyContinue

if ($process) {
taskkill /t /f /im vidalia.exe

$defaultVidaliaInstallation = "C:\Program Files (x86)\Vidalia Bundle\Vidalia\vidalia.exe"

Start-Process $defaultVidaliaInstallation

Enable Schedule Continue reading

Enable CORS in .Net

Add this line in your web.config

		<add name="Access-Control-Allow-Origin" value="*" />
		<add name="Access-Control-Allow-Headers" value="Content-Type" />
		<add name="Access-Control-Max-Age" value="1728000" />