Eclipse:jdk 1.7升级后的socks代理参数错误

时间:2013-02-18 16:06:27

标签: proxy java-7 jvm-arguments

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

-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 args是不同的吗?

0 个答案:

没有答案