wcf REST Ping timeout -
i have set iis authentification = basic, , create account windows login = pda , password = xxx. but when client acces service, got message timeout public stream pingserver() { //string leurl = "http://localhost:81/code/wcfservice_rest_suivicolis/wcfservice_rest_suivicolis/service1.svc"; string leurl = "http://xxx.yyy.zzz/fa85/service1.svc/"; string result = "",errpb=""; try { var myrequest = (httpwebrequest)webrequest.create(leurl); myrequest.credentials = new system.net.networkcredential("pda", "xxx"); myrequest.method = "put"; myrequest.contentlength = 0; var response = (httpwebresponse)myrequest.getresponse(); if (response.statuscode == httpstatuscode.ok) { // si le serveur ok result =...