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?
- Can’t start Eclipse – Java was started but returned exit code=13
- What is a “thread” (really)?
- What does “@” mean in Windows batch scripts
- How to run a PowerShell script
- How do I install and use cURL on Windows?
- How to go from fopen to fopen_s
- Copying a local file from Windows to a remote server using scp
- “X does not name a type” error in C++
- How to jump in Unity 3d?
- How to run a makefile in Windows?
- Node.js Port 3000 already in use but it actually isn’t?
- MinGW: “gcc is not recognized as an internal or external command”
- Find (and kill) process locking port 3000 on Mac
- How to exit Python script in Command Prompt?
- Verify return code: 20 when testing OpenSSL
- What is the difference between ports 465 and 587?
- How To Activate Windows 10
- “rm -rf” equivalent for Windows?
- What is the difference between Cygwin and MinGW?
- Compare 2 directories in windows
- Can’t start hostednetwork
- Pip – Fatal error in launcher: Unable to create process using ‘”‘
- OpenSSL: PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE
- python is not recognized windows 10
- Python not working in the command line of git bash
- Setting up a cron job in Windows
- While loop in batch
- Error occurred during initialization of VM (java/lang/NoClassDefFoundError: java/lang/Object)
- Bridged networking not working in Virtualbox under Windows 10
- How can I know if a process is running?
- OS x El capitan 10.11 – Virtualbox – Missing Bluetooth Controller Transport
- How to split large text file in windows?
- mysql community server vs mysql installer
- What is a Windows Handle?
- Error: Could not find or load main class net.minecraft.launchwrapper.Launch when launching Minecraft 1.12.2 with Forge
- npm install with error: `gyp` failed with exit code: 1
- Systrace for Windows
- Nat Punchthrough understanding P2P concept
- The requested operation cannot be performed on a file with a user-mapped section open
- How to kill a process on a port on ubuntu
- How to set commands output as a variable in a batch file
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- Using Windows Server 2012 How to Move Uploads Folder to another hard drive
- What is this IP address: 169.254.169.254?