Windows Container, with Legacy WCF / TCP Issue

落花浮王杯 提交于 2019-12-24 21:43:32

问题


I've started migrating a Legacy multi-service application to a Windows Container, so we can easily move it to a new server in the near future.

This application is .Net 4.5.1, and utilizes WCF for majority of its connections. The WCF is net.tcp, with Security Mode Transport, and a Windows TCP Client Credential Type.

I have a DockerFile which uses microsoft/wcf as a base, and builds the requirements of the application on top of that, eventually adding and starting the services.

The services start correctly, I have confirmed with a netstat from within the container, as well as they have a logging mechanism which logs start and stop to a SQL Server, and that works correctly as well.

The issue is I am unable to make an inbound connection to the WCF services. I keep getting this error:

"The server has rejected the client credentials"

I wrote a small application to run in the container, and it just triggers a command against the same service I was testing, except from within the container it works correctly.

Any help would be appreciated.

来源:https://stackoverflow.com/questions/48544367/windows-container-with-legacy-wcf-tcp-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!