free (Team Foundation Build)
The free command removes a port reservation.
Required Permissions
To run the free command, you must be a Windows administrator on the build computer. For more information, see Team Foundation Server Permissions.
Note
Even if you are logged on with administrative credentials, you must open an elevated Command Prompt to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt, click Start, right-click Command Prompt, and click Run as Administrator. For more information, see the Microsoft Web site.
Wcfhttpconfig free port
Parameters
Argument |
Description |
---|---|
port |
The number or URLPrefix of the port for which the reservation is removed. For more information about URLPrefixes, see https://go.microsoft.com/fwlink/?LinkId=94851. |
Remarks
URLPrefixes are used when you use HTTPS for the build agent.
Example
The following example removes a reservation from port 9191.
>wcfhttpconfig.exe free 9191
The following example uses a URLPrefix to remove a reservation from the port 9191.
>wcfhttpconfig.exe free https://+:9191/Build/v2.0/AgentService.asmx
See Also
Tasks
How to: Modify Settings in TfsBuildService.exe.config file
How to: Configure an Interactive Port for Team Foundation Build
How to: Set up a Build Agent to Require HTTPS and Secure Sockets Layer (SSL)