Hello as title says,
i would like to see if it is possible somehow to write in vb.net simple application that check if port 80 is used by some application and if it is to show Error message that it is used by APPLICATION NAME and asking if you want that app to be closed for you??

Regards,
Onlykl

Recommended Answers

All 2 Replies

netstat -aon |find ":80" or netstat -o -n -a | findstr 0.0:80 in the cmd prompt.
taskkill /pid 9999

You can even use the tool from Wampserver to determine if the port is being used. I am sure you can get the source code from somewhere.

If you love port 80 so much, you can create an app which generates the cmd commands in C#.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.