|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
How to connect IClient to dukascopy server through a proxy? |
blsck
|
Post subject: How to connect IClient to dukascopy server through a proxy? |
Post rating: 0
|
Posted: Tue 23 Feb, 2021, 02:41
|
|
User rating: 0
Joined: Mon 22 Feb, 2021, 16:43 Posts: 1 Location: China,
|
I run a JForex API client in a server, this server can't directly connect to dukascopy server. Does anyone know how can i connect the JForex API client to dukascopy server through a proxy?
|
|
|
|
![](images/spacer.gif) |
API Support
|
Post subject: Re: How to connect IClient to dukascopy server through a proxy? |
Post rating: 0
|
Posted: Thu 06 May, 2021, 16:34
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Greetings.
Set following system properties before calling IClient.connect():
System.setProperty("http.proxyHost", ...); System.setProperty("http.proxyPort", ...); System.setProperty("https.proxyHost", ...); System.setProperty("https.proxyPort", ...);
Regards.
|
|
|
|
![](images/spacer.gif) |
|
Pages: [
1
]
|
|
|
|
|