Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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 at 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 at 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 at 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
0 OriginalGriff 490
1 Gihan Liyanage 338
2 ChauhanAjay 180
3 Vinay Mistry 160
4 Sergey Alexandrovich Kryukov 153
0 Sergey Alexandrovich Kryukov 9,011
1 OriginalGriff 7,941
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 5 Jan 2013
Copyright © CodeProject, 1999-2014
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