|
-
Oct 23rd, 2003, 05:28 AM
#1
Thread Starter
New Member
Block a Local Port
I need your help.If anybody can give me the solution of my Query that is:- I want to block a local port so that no service can run on this port.like if I want to stop ftp service on my computer then I'll have to block port no:21 but ques is how? How I can stop this service from running.If you have some code snippet for this or some other dll or exe to whom I can send the coomand with a port number then plz send it to [email protected]
Thanks
-
Oct 23rd, 2003, 06:21 AM
#2
If you want to stop a service (FTP, MAIL) then you can use the net command:
[Highlight=VB]
net stop "Name of the service"
[/vbocde]
run that in a dos-box or use the SHELL command from VB.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|