Click here to Skip to main content
12,298,743 members (49,015 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
hi my friends

i type this command in command prompt :
netsh http add urlacl url=https://+:8000/ user=vahidrad-vaio\vahidrad

and give me this error :
url reservation add failed , error : 183
cannot create a file when that file already exists


WHY ERROR??
Posted 5-Jul-11 20:38pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can check what ports are reserved by using netsh http show urlacl command in Visual Studio Command and if it has been reserved before you can delete the reservation by using netsh http delete urlacl url=http://+:8000/yourUserName.

Hope this helps
  Permalink  
v2
Comments
vahid_erad 6-Jul-11 3:04am
   
i type this command :
netsh http delete urlacl url=http://+:8000/VahidRad-VAIO\VahidRad

bud give error :
url reservation delete failed, error: 2
the system cannot find the file specified

why?
Wayne Gaylard 6-Jul-11 3:07am
   
Well, if you try to add it, it says the file already exists, but if you try delete it, it says it does not exist. Did you try running the first command to see what ports are reserved ?
vahid_erad 6-Jul-11 3:41am
   
yes, after running "netsh http show urlacl" show me a list
in the end of list is : http://+:8000/
so the port is reserv but delete command give error

why??
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

netsh.exe http delete urlacl url=http://+:8000
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160525.2 | Last Updated 5 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100