I am also facing the similar issue.
I am able to invoke the webdriver on windows phone for the first time after pushing the xap file.
If i navigate to the home screen or hit back button on device and run my application again from Visual Studio.
Then it is not able to connect and throws an exception.
Connecting to RemoteWebDriver ...http://10.1.56.232:3001
Unexpected error. System.Net.WebException: Unable to connect to the remote serve
r ---> System.Net.Sockets.SocketException: A connection attempt failed because t
he connected party did not properly respond after a period of time, or establish
ed connection failed because connected host has failed to respond 10.1.56.232:30
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddre
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Sock
et s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state,
IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecut
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecu
te, Dictionary`2 parameters)
Any help appreciated.