Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 9-Aug-16 3:28am

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
 
Share this answer
 
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??
netsh.exe http delete urlacl url=http://+:8000
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900