using (var client = new HttpClient())
{
client.BaseAddress = new Uri(Url);
client.DefaultRequestHeaders.Accept.Clear();
client.DefaultRequestHeaders.Accept.Add(ne
Run command prompt as administrator and type following command. netstat -ano | findstr ":80"
In case if you are using a different port number then replace 80 with the appropriate port number.
The result would show a process id using the 80 port number in the last column. Either you can change the port number in your program or you can kill the process using 80 port number.