先检查 Med-NIS.exe.config 配置文件
<client>
<endpoint address="net.tcp://10.162.136.28:809/MessageService.svc"
binding="netTcpBinding" bindingConfiguration="InstantMessageBinding"
contract="Nis.InstantMessage.Contract.IMessageService"
name="NetTcpBinding_IMessageService" />
<endpoint address="net.tcp://10.162.136.28:809/DaoService.svc"
binding="netTcpBinding" bindingConfiguration="InstantMessageBinding"
contract="Nis.InstantMessage.Contract.IDaoService"
name="NetTcpBinding_IDaoService" />
</client>
是不是 上图
如果是下图 更改配置
如果 右键查看历史信息报错
net.tcp 服务有没有开启