Я разместил wcf как в http://msdn.microsoft.com/en-us/library/ms733069.aspx.
В клиентском приложении, когда я добавляю сервисную ссылку 'http://localhost:8000/ServiceModelSamples/service', я получаю следующую ошибку:
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.
Я забронировалURL-адрес тоже такой: C: \ Windows \ system32> netsh http add urlacl url = http://Service:8000/ServiceModelSamples/service/ user = mydomain \ myuser.а также я не могу увидеть это http://localhost:8000/ServiceModelSamples/service/ из браузера.