2

我在 Eclipse 中配置了以下代理 VM 参数几个月:

-DsocksProxyHost=socks.OUR-HOST-SERVER-HERE.com -DsocksProxyPort=1080

升级到 Java 1.7 后,出现以下错误消息:

Could not connect to:  : 65181            
java.net.SocketException: SOCKS: Connection not allowed by ruleset
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:553)
   at java.net.Socket.connect(Socket.java:579)
   at java.net.Socket.connect(Socket.java:528)
   at java.net.Socket.<init>(Socket.java:425)
   at java.net.Socket.<init>(Socket.java:208)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect(RemoteTestRunner.java:570)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:381)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

知道出了什么问题吗?Java 7 中代理的 VM 参数是否不同?

4

0 回答 0