我在一臺機器上的客戶端應用程序試圖訪問另一臺機器上的WCF服務。只有在開啓提琴手時纔可以訪問WCF服務
客戶機應用程序只能在客戶機上的Fiddler打開時訪問Web服務。當後者被關閉,我得到以下錯誤:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://ourServer.com/ProductDataServiceV1.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8888
HOSTS文件中我有
192.168.33.55 ourServer.com
我看着在Windows資源管理器的代理服務器設置和所有複選框被關閉。我也在客戶端機器上搜索「127.0.0.1:8888」,但找不到任何註釋。
此外,我能夠在Web瀏覽器中「查看」服務http://ourServer.com/ProductDataServiceV1.svc。
我在做什麼錯?
我檢查了源代碼,並沒有指向127.0.0.1:8888。不過,我會在船上提出其他建議並嘗試一下。感謝您的意見。 – DavidS
我現在已經在machine.config中搜索了「8888」,並且沒有這樣的條目。然後我在客戶端應用程序中查找了相同的字符串,並且沒有發現任何內容。稍後我會重新啓動客戶端並進行報告。 – DavidS
您的問題是否解決?怎麼樣? – AskMe