-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ShdrAdapter: Listen on configurable IP address #20
Comments
You're correct this should be configurable. I will make an Address property that will default to all interfaces as you mentioned. I have a large commit coming up that I will most likely add early next week along with a new Release. I will include this change in with that commit. |
Looking forward to it. I'm ready to do more testing. |
This should be fixed in 0e50b3b The TcpListener now listens on Any address. This may need to be configurable in the configuration file in the future. private async Task ClientListener(CancellationToken cancel)
{
do
{
try
{
_listener = new TcpListener(IPAddress.Any, Port);
_listener.Start(); |
Will test in a Docker setup this week. |
@PatrickRitchie , can you update Nuget package? |
@MRIIOT Yes I will update the Nuget package and create a new Release tonight. I had a few minor other changes that I wanted to include in that Release as well. |
Works perfect in a Docker environment. |
IP address to listen on should be configurable with the option to listen on all interfaces (0.0.0.0).
MTConnect.NET/src/MTConnect.NET/Adapters/Shdr/AgentClientConnectionListener.cs
Lines 105 to 113 in afb85cf
The text was updated successfully, but these errors were encountered: