擅长:python、mysql、java
<blockquote>
<p>I inlined the Code you provided and run it on windows 10 system, i get the correct exception</p>
</blockquote>
<pre><code>import java.net.InetSocketAddress;
import java.net.Socket;
public class Main {
public static void main(String[] args) throws Exception {
new Socket().connect(new InetSocketAddress("0.0.0.0", 37845), 10_0000);
}
}
</code></pre>
<blockquote>
<p>Oracle JDK 8.0.202</p>
</blockquote>
^{pr2}$