Intel® Tiber Developer Cloud
Help connecting to or getting started on Intel® Tiber Developer Cloud
312 Discussions

Trouble Closing Python Program Occupying Port 8188

nameliu
Beginner
1,195 Views

I used nohup to run a python program (comfyUI) which is occupying port 8188. However, now I am unable to stop this program. Even after rebooting the machine multiple times, I can still see that port 8188 is being occupied by running ss -tunlp, but I cannot stop it. I think it is consuming a lot of resources. What should I do?

Here is a screenshot of my terminal showing the issue.

nameliu_0-1718618291055.png

nameliu_1-1718618739458.png

 

 

Labels (1)
0 Kudos
2 Replies
Sarven_Intel
Moderator
1,156 Views

Hi nameliu,

 

Thank you for reaching out to us. Please follow the steps below and provide us with a screenshot of the terminal if there is any issue.

 

To list any process listening to the port 8188: lsof -i:8188

 

To kill any process listening to the port 8188: kill $(lsof -t -i:8188)

 

To kill any process listening to the port 8188 (alternate method): kill -9 $(lsof -t -i:8188)

 

 

Regards,

Sarven

 

 

 

Sarven_Intel
Moderator
1,055 Views

Hi nameliu,


This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.  


Regards,

Sarven



0 Kudos
Reply