System Idle Process occupying a specific port

1k Views Asked by At

I'd like to ask about System Idle Process where it seems to be occupying a specific port that I'm using.

I'm suspecting this is the reason why my BaseHTTPServer python script that listens to requests sometimes randomly stops listening without any error messages**. When I use netstat in powershell, this is the result I get:

Handles  NPM(K)    PM(K)      WS(K)     CPU(s)     Id  SI ProcessName
-------  ------    -----      -----     ------     --  -- -----------
      0       0       56          8                 0   0 Idle
    250      18    17896      25168      11.22  24832   2 python

The python script does have a time.sleep(). In a bat script meant to keep it alive if it is ever encounters an exception, it also have a timeout /t. Could these be the reason why?

I've only just encountered this error. Previously, there were no problems until now. Any advice would be greatly appreciated. IIS isn't using the port, and I don't have PBX installed in this machine.

If it matters, this script listens to requests then sends data to RabbitMQ, and it is using port 8088.

0

There are 0 best solutions below