[英]WCF Service Host shows 2 instances in Listening ports
我啟動了WCFServiceHost,當我查看資源監視器時看到了這一點。 有兩個ServiceHost實例顯示,為什么我會看到此信息-當我僅啟動一個實例時-您會注意到PID相同。 我搜索了互聯網等等; 即使閱讀無關緊要的帖子-我正在使用Net.TCP綁定-我注意到IPv4,IPv6(為什么兩者都是默認值?我沒有在任何地方指定v4或v6;我是否應該對此加以關注?
我認為答案是IPv4和IPv6地址都解析為相同的MAC地址(NIC),唯一有意義的是端口。 如果您的網絡同時具有IPv4和IPv6,則WCF只是在“做您想做的事”。 不必擔心,這只是默認行為。
[英]WCF Service listening to multiple ports
[英]Is it possible that one windows service is listening on multiple ports?
[英]MEF + WCF Service Host?
[英]Host a WCF Service in a Application
[英]How to host a WCF service
[英]Timer in WCF service host
[英]WCF service host in web service
[英]WCF Web Service Client no endpoint listening
[英]Listening to a WCF service from a Windows Forms Application
[英]Deploying WCF Service Host App without WCF Service Host?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.