Separate names with a comma.
Discussion in 'Programming and Scripting' started by dougie1809, Mar 7, 2012.
Hi, What command can tell me what service has opened what port?
try: netstat -a
Ok thanks. And how can I go about killing a task? For an example, I see port 135 being used by epmap, so how can I kill epmap from using port 135? Thanks
Use the netstat command with parameters a, o and n: netstat -a -o -n Note the PID of the service using the port you want to close then go to task manager and end the process with that PID.
Thanks. Or you can actually use the command 'taskkill -f -pid 1024' (PID of epmap). Why is it telling me Access Denied, when trying to kill the process? Í've tried by task manager, and im even in command line adminstrator? Thanks