sdk
sdk copied to clipboard
SocketException is reporting destination address with source port
The following SocketException is reporting the destination address with source port:
SocketException: The remote computer refused the network connection. (OS Error: The remote computer refused the network connection. , errno = 1225), address = 192.168.10.1, port = 53568
I would expect to see the destination port, not the source port.
(Note: the source and destination ports were confirmed using the SysInternals Procmon utility: localhost:53568 -> 192.168.10.1:29254)
- Dart 3.8.0 (stable) (Wed May 14 09:07:14 2025 -0700) on "windows_x64"
- on windows / "Windows 10 Home" 10.0 (Build 19045)
- locale is en-US
Likely duplicate of https://github.com/dart-lang/sdk/issues/12693
It is not a duplicate. In #12693, the local address and local port are being displayed. In this issue, the destination address and local port are displayed, so there is a mismatch, with one value reflecting the destination and the other the source.
//cc @brianquinlan