Code Monkey home page Code Monkey logo

Comments (3)

jbx1279 avatar jbx1279 commented on July 2, 2024

弱弱地问一下:proxy不是应该被底层网络透明掉吗?还需要在应用层处理吗。
这些我们不太熟悉,还不太清楚如何自己搭一个代理来做实验。
另外,这些源代码都是公开的,如果必要也可以自己增加,这件事仅和网络本身有关,与计算无关,不用理解SPL内部逻辑,写个Java的静态函数来设置/清除代理就可以了。

from esproc.

xuzaoya avatar xuzaoya commented on July 2, 2024

jvm属性支持http代理
-Dhttp.proxyHost=代理服务器主机名
-Dhttp.proxyPort=端口号,默认是80
-Dhttps.proxyHost=https代理服务器主机名
-Dhttps.proxyPort=代理端口号,默认是443
-Dhttp.nonProxyHosts=指定绕过代理的主机列表,多个用 | 分割
如果是安装盘,可以在config.txt里配置
如果自己运行主类那直接在java后加上即可

from esproc.

xiaobai721 avatar xiaobai721 commented on July 2, 2024

jvm属性支持http代理 -Dhttp.proxyHost=代理服务器主机名 -Dhttp.proxyPort=端口号,默认是80 -Dhttps.proxyHost=https代理服务器主机名 -Dhttps.proxyPort=代理端口号,默认是443 -Dhttp.nonProxyHosts=指定绕过代理的主机列表,多个用 | 分割 如果是安装盘,可以在config.txt里配置 如果自己运行主类那直接在java后加上即可

亲测可以了没问题,感谢呀

from esproc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.