2011-08-02 8 views
0

http://msdn.microsoft.com/en-us/library/ms733069.aspx과 같이 wcf를 호스팅했습니다.windows 서비스에서 vs2008 용으로 호스팅되는 wcf를 사용하는 동안 오류가 발생했습니다.

클라이언트 응용 프로그램에서

나는 서비스 참조를 추가 '에 http : // localhost를 : 8000/ServiceModelSamples/서비스', 나는 다음과 같은 오류가 점점 오전 : 나는 너무이 C와 같은 URL을 예약 한

There was an error downloading 'http://localhost:8000/ServiceModelSamples/service'. 
Unable to connect to the remote server 
No connection could be made because the target machine actively refused it 127.0.0.1:8000 
Metadata contains a reference that cannot be resolved: 'http://localhost:8000/ServiceModelSamples/service'. 
Could not connect to http://localhost:8000/ServiceModelSamples/service. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:8000. 
Unable to connect to the remote server 
No connection could be made because the target machine actively refused it 127.0.0.1:8000 
If the service is defined in the current solution, try building the solution and adding the service reference again. 

를 : \ Windows \ system32> netsh http add urlacl url = http : // Service : 8000/ServiceModelSamples/service/user = mydomain \ myuser. 또한 브라우저에서이 http://localhost:8000/ServiceModelSamples/service/을 볼 수 없습니다. 내가 서비스를 시작으로

+0

이봐 친구 (services.msc를) –

답변

0

이봐 친구는이 문제가 해결된다 'WCFWindowsServiceSample'서비스에서 (services.msc를) 내가 서비스 'WCFWindowsServiceSample'서비스의 시작으로이 문제가 해결

관련 문제