Skip to content
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

Samples.Desktop.sln Error #93

Open
Flowergift opened this issue Mar 1, 2024 · 1 comment
Open

Samples.Desktop.sln Error #93

Flowergift opened this issue Mar 1, 2024 · 1 comment

Comments

@Flowergift
Copy link

Flowergift commented Mar 1, 2024

Hi~
Everything was okay for me in VS2022.
But when I tried it "consoletest" run,

 System.Net.Sockets.SocketException: ConnectionRefusedError: [WinError 10061] 127.0.0.1:11112
   Location: System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
   Location:  System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   Location:  System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult)
   Location:  System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
   --- ~~~~~~~~~~~~~ ---
   Location:  System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   Location: : System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   Location: : FellowOakDicom.Network.DesktopNetworkStream..ctor(NetworkStreamCreationOptions options)
   Location:  FellowOakDicom.Network.DesktopNetworkManager.CreateNetworkStreamImpl(NetworkStreamCreationOptions options)
   Location:  FellowOakDicom.Network.NetworkManager.FellowOakDicom.Network.INetworkManager.CreateNetworkStream(NetworkStreamCreationOptions options)
   Location:  FellowOakDicom.Network.Client.Advanced.Connection.DefaultAdvancedDicomClientConnectionFactory.<>c__DisplayClass5_0.<OpenConnectionAsync>b__0()
   Location:  System.Threading.Tasks.Task`1.InnerInvoke()
   Location:  System.Threading.Tasks.Task.Execute()

message is appeared.
Can you help me?

AnyCPU, x86 same problem~(Debug mode~)
And all ports blocks released from Win 11 defender inbound/outbound "all" ports.
Samples.Universal and others are not built or have run.
And my other DICOM server...Made by Win IIS server is no problem.
(127.0.0.1 + localhost are all fine in my PC)
Surely it's "1112" port problem as my guess..

And can you help me the "DICOM viewer(reader) open source based on fo-dicom/oak-dicom"?

@gofal
Copy link
Contributor

gofal commented May 31, 2024

A SocketException is raised from the operating system. This may be because of several reasons. A firewall might block the access, but you mentioned that you turned off your firewall.
Is the Dicom-Server software running on port 11112? Connection may fail if no server is running properly?

This is a error, where it is very hard to help you from remote, because this is very likely not an error that is caused by source code, but rather by your machine configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants