Sunday, September 29, 2024

How to clear windows port by powershell

 

  1. Open Power Shell from Windows search.
  2. Type "netstat -ano -p tcp" and hit enter.
  3. Find the PID (actualPID) of the process in the port in the list. (Eg: 8080)
  4. taskkill /F /PID "actualPID"
Now the port is clear for you to run Java or NodeJS or any application through 8080 port if you are looking to do that. (http://localhost:8080)

Friday, February 10, 2023

boomi admin to terminate process from server

Sudo su -username = switch to root user
Ps -ef | grep -i java = process status everything full | search for string java case sensitive 
CD folder = go to process folder
CD execution= go to execution folder
LS -ltr = list of files order by most recently used
CD current 
LS -ltr 
LS -ltr | grep -i execution-***.cur
MV execution-***.cur execution-***.date cur = move process to new name
LS -ltr = to check if process rename is success
Now you can terminate from boomi UI