-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Throws at 👍
private bool CheckIfWebServiceIsUpAndRunning()
{
try
{
_log.Info("Check if python web-service is already running");
//Creating the HttpWebRequest
var request = WebRequest.Create(_serviceUrlCheckAliveMethod) as HttpWebRequest;
//Setting the Request method HEAD, you can also use GET too.
request.Method = "GET";
//Getting the Web Response.
var response = request.GetResponse() as HttpWebResponse; <<<<<
No connection could be made because the target machine actively refused it No connection could be made because the target machine actively refused it
soso-maitha
Metadata
Metadata
Assignees
Labels
No labels