Click here to Skip to main content
12,898,569 members (66,903 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

Posted 5-Jul-11 20:38pm
Updated 9-Aug-16 3:28am
Rate this: bad
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
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

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

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

Solution 2

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

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.170424.1 | Last Updated 9 Aug 2016
Copyright © CodeProject, 1999-2017
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