Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: forcibly closing sockets/unbinding ports - win32

by true (Pilgrim)
on Jun 09, 2003 at 07:28 UTC ( [id://264261]=note: print w/replies, xml ) Need Help??


in reply to forcibly closing sockets/unbinding ports - win32

Sorry, i have no answer for you but another question. I've had similar probs with Win32. Especially when dealing with pre-existing Apache. I ended up finding the pid of the apache process (with ps.exe) and killing that process from perl. I had to know the name of the application though in order to kill it. Sounds like you do, so try to kill it. Which leads to a more direct question. Can you map a port owner's pid? Or...
Is there a way to detect which process is binding the port you want?

jtrue

  • Comment on Re: forcibly closing sockets/unbinding ports - win32

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://264261]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-25 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found