开发者

How can I verify a socket listener?

I have created an application which starts a listener (it is a WCF application). After I run the application, is it possible to verify whether listener is runni开发者_如何学JAVAng correctly, and port it is listening to using a networking tool like wireshark,etc?


Use e.g. netstat, in a console type:

netstat -an


Another solution is to try to use another listener on the same port. You'll get a bind exception.


use http://porttest.blogspot.com/ to verify that connection open

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜