Getting an error while Updating WCF Service Reference
I got an error like this.
There was an error downloading http://localhost:5705/UserService.svc
Unable to connect Remote Server No Connection could be made because the target machine actively refused 127.0.0.1:5705 Metadata contains a reference that cant be Resolved '开发者_JS百科http://localhost:5705/UserService.svc' could not connect to 'http://localhost:5705/UserService.svc' TCP error code 10064:No Connection could be made because the target machine actively refused 127.0.0.1:5705, enable to connect Remote Server No Connection could be made because the target machine actively refused 127.0.0.1:5705
There is normally 4 reasons for this:
- The service is not running
- The meta data exchange is not enabled
- No mex endpoint is defined
- port is blocked on firewall
精彩评论