I know this is an old thread, but in case anyone else is having the same issue, I had…
What may be happening is that your process had a TCP port open when it crashed or otherwise exited without explicitly closing it. Normally the OS cleans up these sorts of things, but only when the process record goes away. While the process may not appear to be running any more, there is at least one thing that can keep a record of it around, in order to prevent reuse of its PID. This is the existence of a child process that is not detached from the parent.
If your program spawned any processes while it was running, try killing them. That should cause its process record to be freed and the TCP port to be cleaned up. Apparently windows does this when the record is released not when the process exits as I would have expected.
Related Posts:
- Taskkill /f doesn’t kill a process
- How to check if a port is blocked on a Windows machine?
- What exactly are DLL files, and how do they work?
- The application was unable to start correctly (0xc000007b)
- How can you find out which process is listening on a TCP or UDP port on Windows?
- ‘npm’ is not recognized as internal or external command, operable program or batch file
- Difference between xcopy and robocopy
- The filename, directory name, or volume label syntax is incorrect inside batch
- stop all instances of node.js server
- Bat file to run a .exe at the command prompt
- How can I open Java .class files in a human-readable way?
- Command line for looking at specific port
- Opening a remote machine’s Windows C drive
- Why does CreateProcess give error 193 (%1 is not a valid Win32 app)
- How do I kill the process currently using a port on localhost in Windows?
- Bluescreen on windows 10 after using android emulator
- XCOPY: Overwrite all without prompt in BATCH
- How to install and run the Nmap program through Cygwin in Windows?
- How to compile C program on command line using MinGW?
- All links in my site start with localhost?
- WordPress database setup Windows 2016 IIS
- How do you find what process is holding a file open in Windows?
- How do I tell Git for Windows where to find my private RSA key?
- How to send ctrl+alt+del using Remote Desktop?
- What’s the command-line utility in Windows to do a reverse DNS look-up?
- Useful Command-line Commands on Windows
- How do you add a Windows environment variable without rebooting?
- hosts file ignored, how to troubleshoot?
- How to refresh hosts file without rebooting
- How to sleep in a batch file?
- Resolve host name from IP address
- Run a .bat file in a scheduled task without a window
- Command line to list users in a Windows Active Directory group?
- What is Active Directory Domain Services and how does it work?
- Is there a global, persistent CMD history?
- How do I diff two text files in Windows Powershell?
- What port should I open to allow remote desktop?
- In Windows, using the command line, how do you check if a remote port is open?
- Does Windows have a built-in ZIP command for the command line?
- Can you run Docker natively on the new Windows 10 (Ubuntu) bash userspace?
- How does CTRL-ALT-DEL to log in make Windows more secure?
- How do I force sync the time on Windows Workstation or Server?
- How do I create a symbolic link in Windows?
- Best practice: Should I always install a fresh OS for new employees?
- How can I tell what version of IIS is installed?
- Where can I find data stored by a Windows Service running as “Local System Account”?
- How can I connect to a Windows server using a Command Line Interface? (CLI)
- Windows server last reboot time
- Windows Active Directory naming best practices?
- Why hasn’t rsync caught on in the Windows world? [closed]
- Boot and Install Windows from a USB thumb drive
- How to fix PuTTY showing garbled characters? [closed]
- How to delete cached temporarily credentials for a network share on a Windows machine without rebooting or logging off [duplicate]
- What is the Windows equivalent of Unix “whoami” command?
- How to configure a Windows machine to allow file sharing with a DNS alias
- Alternatives to Splunk?
- How to fix “VirtualBox Interface has active connections” error in Windows?
- How to install OpenSSL in windows 10?
- How to fix “VirtualBox Interface has active connections” error in Windows?
- ‘pip’ is not recognized as an internal or external command
- Why is “MINGW64” appearing on my Git bash?
- How can I update npm itself?
- outputting ascii table in C++
- Using %PROGRAMFILES(x86)% on Windows OS 32bit
- how to get program files x86 env variable?
- Difference between masm32 and masm?
- Can’t start Eclipse – Java was started but returned exit code=13
- What is a “thread” (really)?
- Can’t start Eclipse – Java was started but returned exit code=13
- How do I start PowerShell from Windows Explorer?
- Tensorflow import error: No module named ‘tensorflow’
- scp with port number specified
- A fatal error occurred while creating a TLS client credential. The internal error state is 10013
- Unexplained crashes related to ntdll.dll
- How can I install pip on Windows?
- scp with port number specified
- How to log in to phpMyAdmin with WAMP, what is the username and password?
- How to upgrade Git on Windows to the latest version
- PermissionError: [Errno 13] Permission denied
- What does “@” mean in Windows batch scripts
- Permanently add a directory to PYTHONPATH?
- What are good grep tools for Windows? [closed]
- How to run a PowerShell script
- bash: npm: command not found?
- How to add to the PYTHONPATH in Windows, so it finds my modules/packages?
- ‘git’ is not recognized as an internal or external command
- What is the difference between a process and a thread?
- How do I install and use cURL on Windows?
- Failed to write core dump. minidumps are not enabled by default on client version of windows
- “Javac” doesn’t work correctly on Windows 10
- How to list files in windows using command prompt (cmd). I’ve tried using ‘ ls ‘ as in Linux but it shows an error?
- Can’t connect to MySQL server on ‘localhost’ (10061) after Installation
- ow can I find where Python is installed on Windows?
- “Couldn’t find a file descriptor referring to the console” on Ubuntu bash on Windows
- Ignoring directories in Git repositories on Windows
- ‘git’ is not recognized as an internal or external command
- C compiler for Windows?
- Setting Windows PowerShell environment variables
- Can’t connect to MySQL server on ‘localhost’ (10061) after Installation
- finding dll for “The specified module could not be found”