Windows Service always listening on port8080, even when killed

762 Views Asked by At

I have a problem when i start my application by Spring, the port 8080 is allready listening by a service, which is "rundll32.exe", apparently a legitime file from system32, but even when i kill it, it come back, here is my prompt commands:

tasklist | findstr 15448
rundll32.exe                 15448 Services                   0     56,592 K

netstat -ano | findstr 8080
  TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       15448

taskkill /F /pid 15448
SUCCESS: The process with PID 15448 has been terminated.

netstat -ano | findstr 8080
  TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       9796

tasklist | findstr 9796
rundll32.exe                  9796 Services                   0     55,976 K

As you can see, the service always listening the port8080. I tried to search a solution but i did not find a similar problem on the internet. Have you any suggestion? (I killed the rundll32 process in the Services list, but nothing has change)

1

There are 1 best solutions below

0
Derek Fender On

Many applications in Windows use dynamic-link library (DLL) files to do a great number of things , simply trying to kill this particular task may result in the task being automatically restarted as it may be a necessary task for applications that may be running. Specifically the rundll32.exe is used to launch functionality stored in shared dll files. This is a valid part of Windows, and normally should not cause a problem. However, if your system does not have a legitimate reason to be listening on port 8080 and your system is somehow corrupted try following this link [1] for reparation instructions.

[1] Use the System File Checker tool to repair missing or corrupted system files : https://support.microsoft.com/en-us/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system